pandas.arrays.TimedeltaArray
-
class pandas.arrays.TimedeltaArray(values, dtype=dtype('<m8[ns]'), freq=None, copy=False)[source] -
Pandas ExtensionArray for timedelta data.
New in version 0.24.0.
Warning
TimedeltaArray is currently experimental, and its API may change without warning. In particular,
TimedeltaArray.dtypeis expected to change to be an instance of anExtensionDtypesubclass.Parameters: -
values : array-like -
The timedelta data.
-
dtype : numpy.dtype -
Currently, only
numpy.dtype("timedelta64[ns]")is accepted. -
freq : Offset, optional -
copy : bool, default False -
Whether to copy the underlying array of data.
Attributes
None Methods
None -
© 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.25.0/reference/api/pandas.arrays.TimedeltaArray.html