pandas / 0.22.0 / generated / pandas.datetimeindex.item.html /

pandas.DatetimeIndex.item

DatetimeIndex.item() [source]

return the first element of the underlying data as a python scalar

© 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.DatetimeIndex.item.html