pandas.Series.dt.to_period
-
Series.dt.to_period(*args, **kwargs)
[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.Series.dt.to_period.html