DataFrameTimeSeries extension

Time series operations for DataFrame

on

Methods

asfreq(String freq, {String method = 'pad', dynamic fillValue}) DataFrame

Available on DataFrame, provided by the DataFrameTimeSeries extension

Convert TimeSeries to specified frequency.
atTime(String time, {int axis = 0}) DataFrame

Available on DataFrame, provided by the DataFrameTimeSeries extension

Select values at particular time of day.
betweenTime(String startTime, String endTime, {bool includeStart = true, bool includeEnd = true}) DataFrame

Available on DataFrame, provided by the DataFrameTimeSeries extension

Select values between particular times of day.
downsample(String frequency, {String? dateColumn, String aggFunc = 'mean'}) DataFrame

Available on DataFrame, provided by the DataFrameTimeSeries extension

Downsamples the DataFrame to a lower frequency.
first(String offset) DataFrame

Available on DataFrame, provided by the DataFrameTimeSeries extension

Select first n periods of time series data.
lag(int periods, {dynamic fillValue}) DataFrame

Available on DataFrame, provided by the DataFrameTimeSeries extension

Lag values by n periods (equivalent to shift(n)).
last(String offset) DataFrame

Available on DataFrame, provided by the DataFrameTimeSeries extension

Select last n periods of time series data.
lead(int periods, {dynamic fillValue}) DataFrame

Available on DataFrame, provided by the DataFrameTimeSeries extension

Lead values by n periods (equivalent to shift(-n)).
resample(String frequency, {String? dateColumn, String aggFunc = 'mean', String label = 'left', String closed = 'left'}) DataFrame

Available on DataFrame, provided by the DataFrameTimeSeries extension

Resample time series data to a different frequency.
shift(int periods, {int axis = 0, dynamic fillValue}) DataFrame

Available on DataFrame, provided by the DataFrameTimeSeries extension

Shift index by desired number of periods.
tshift(int periods, {String? freq}) DataFrame

Available on DataFrame, provided by the DataFrameTimeSeries extension

Shift the time index, using the index's frequency if available.
upsample(String frequency, {String? dateColumn, String method = 'pad'}) DataFrame

Available on DataFrame, provided by the DataFrameTimeSeries extension

Upsamples the DataFrame to a higher frequency.