pandas / 1 / reference / api / pandas.timedeltaindex.components.html

pandas.TimedeltaIndex.components

propertyTimedeltaIndex.components[source]

Return a DataFrame of the individual resolution components of the Timedeltas.

The components (days, hours, minutes seconds, milliseconds, microseconds, nanoseconds) are returned as columns in a DataFrame.

Returns
DataFrame

© 2008–2022, 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/1.5.0/reference/api/pandas.TimedeltaIndex.components.html