pandas.TimedeltaIndex.to_series

TimedeltaIndex.to_series(**kwargs) [source]

Create a Series with both index and values equal to the index keys useful with map for returning an indexer based on an index

Returns: Series : dtype will be based on the type of the Index 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.20.3/generated/pandas.TimedeltaIndex.to_series.html