pandas.DatetimeIndex.to_period
-
DatetimeIndex.to_period(freq=None)
[source] -
Cast to PeriodIndex at a particular frequency
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.22.0/generated/pandas.DatetimeIndex.to_period.html