On this page
pandas.Series.dt
Series.dt()
[source]-
Accessor object for datetimelike properties of the Series values.
Examples
>>> s.dt.hour >>> s.dt.second >>> s.dt.quarter
Returns a Series indexed like the original Series. Raises TypeError if the Series does not contain datetimelike values.
© 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.html