Skip to content

pandasx / ResampleOptions

Interface: ResampleOptions ​

Defined in: src/resample.ts:14

Properties ​

PropertyTypeDescriptionDefined in
closed?"left" | "right"Which bin edge is closed. Default 'left', except 'right' for ME/QE/YE/W/BME.src/resample.ts:16
label?"left" | "right"Which bin edge labels the bin (same defaults as closed).src/resample.ts:18
offset?stringShift of the bin edges, e.g. '2h'.src/resample.ts:24
on?stringDataFrame column to use instead of the index.src/resample.ts:20
origin?string | DateAlignment of fixed-frequency bins: 'start_day' (default), 'start', 'epoch', 'end', 'end_day' or a timestamp.src/resample.ts:22

Released under the MIT License.