DatetimeIndex.to_perioddelta(freq) [source]
Calcuates TimedeltaIndex of difference between index values and index converted to PeriodIndex at specified freq. Used for vectorized offsets
New in version 0.17.0.
| Parameters: | freq : Period frequency |
|---|---|
| Returns: | y : TimedeltaIndex |
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.22.0/generated/pandas.DatetimeIndex.to_perioddelta.html