channel_to_dataframe_decimated#
- nominal.thirdparty.pandas.channel_to_dataframe_decimated(channel: Channel, start: str | datetime | int, end: str | datetime | int, *, buckets: int | None = None, resolution: int | None = None, tags: Mapping[str, str] | None = None) DataFrame#
Retrieve the channel summary as a pandas.DataFrame, decimated to the given buckets or resolution.
Enter either the number of buckets or the resolution for the output. Resolution in picoseconds for picosecond-granularity dataset, nanoseconds otherwise.
Only DOUBLE and INT channels are supported. Any other data type raises, either because the type cannot back a compute series or because the decimated response is not numeric.
- Raises:
ValueError – If both
bucketsandresolutionare given, or if the channel’s data type is not DOUBLE or INT.