rdtools.normalization.delta_index
- rdtools.normalization.delta_index(series)
Deprecated since version 2.0.0: The _delta_index function was deprecated in rdtools 2.0.0 and will be removed in 3.0.0.
Takes a pandas series with a DatetimeIndex as input and returns (time step sizes, average time step size) in hours
- Parameters:
series (pandas.Series) -- A pandas timeseries
- Returns:
deltas (pandas.Series) -- A timeseries representing the timestep sizes of
series
mean (float) -- The average timestep