- pandas_equidistant_asfreq(series, freq)#
Create equidistant time series by rounding timestamps and dropping duplicates.
Note: this method rounds all timestamps down to the nearest “freq” then drops duplicates by keeping the first entry. This means observations are shifted in time.
series (pandas Series) – time series.
freq (str) – frequency string.
equidistant time series with frequency ‘freq’.
- Return type