pyrate.tools package

Submodules

pyrate.tools.resampler module

pyrate.tools.resampler.convert_messages_to_hourly_bins(df, period='H', fillnans=False, run_resample=True)[source]

Resample the messages to a new time-resolution.

Defaults to hourly.

Parameters:
  • df (pandas DataFrame) – A DataFrame of messages
  • period (string, optional) – Indicates the period to resample over
  • fillnans (bool, optional) – Defaults to False
  • run_resample (bool, optional) – Defaults to True

Notes

Intended for use with the extended database

Called internally, one of the wrapper functions should be called

Module contents