resample

Frame.resample(freq)

Resample the frame to a specified frequency.

Parameters

freqstr

Frequency string.

Returns

Resampler

Resampler object for resampling the frame.

Examples

>>> frame = Frame(np.array([[1], [2], [3]]), index=np.array(['2021-01-01', '2021-01-02', '2021-01-03'], dtype='datetime64'))
>>> frame.resample('D')
<Resampler>