channel_to_series#

nominal.thirdparty.pandas.channel_to_series(channel, start=None, end=None, relative_to=None, relative_resolution='nanoseconds', *, enable_gzip=True, tags=None)#

Retrieve the channel data as a pandas.Series.

The index of the series is the timestamp of the data. The index name is “timestamp” and the series name is the channel name.

Use relative_to and relative_resolution to return timestamps relative to the given epoch.

Example

s = channel_to_series(channel)
print(s.name, "mean:", s.mean())
Return type:

pd.Series[Any]