TimeSeriesDataFrame.get_reindexed_view#
- TimeSeriesDataFrame.get_reindexed_view(freq: str = 'S') TimeSeriesDataFrame [source]#
Returns a new TimeSeriesDataFrame object with the same underlying data and static features as the current data frame, except the time index is replaced by a new “dummy” time series index with the given frequency. This is useful when suggesting AutoGluon-TimeSeries to “ignore” the time information, for example when dealing with irregularly sampled time series or sequences (e.g., financial time series).
- Parameters
freq (str) – Frequency string of the new time series data index.
Returns – TimeSeriesDataFrame: the new view object with replaced index, but the same underlying data. Note that the underlying data is not copied.