pandas.TimedeltaIndex.to_frame
-
TimedeltaIndex.to_frame(index=True)
[source] -
Create a DataFrame with a column containing the Index.
New in version 0.21.0.
Parameters: index : boolean, default True
Set the index of the returned DataFrame as the original Index.
Returns: DataFrame : a DataFrame containing the original Index data.
© 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.TimedeltaIndex.to_frame.html