Table Of Contents

Search

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

pandas.DatetimeIndex.to_perioddelta

DatetimeIndex.to_perioddelta(freq)[source]

Calculate 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