rdtools.normalization.check_series_frequency
- rdtools.normalization.check_series_frequency(series, series_description)
Deprecated since version 2.0.0: The _check_series_frequency function was deprecated in rdtools 2.0.0 and will be removed in 3.0.0.
Returns the inferred frequency of a pandas series, raises ValueError using
series_description
if it can't.- Parameters:
series (pandas.Series) -- The timeseries to infer the frequency of.
series_description (str) -- The description to use when raising an error.
- Returns:
freq -- The inferred index frequency
- Return type:
pandas Offsets string