Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.DatetimeIndex.to_perioddelta

DatetimeIndex.to_perioddelta(freq)[source]

Calculates TimedeltaIndex of difference between index values and index converted to PeriodIndex at specified freq. Used for vectorized offsets

Parameters:freq : Period frequency
Returns:y : TimedeltaIndex
Scroll To Top