Spec-Zone.ru › pandas 2

pandas.PeriodIndex.second

propertyPeriodIndex.second[source]

Секунда периода.

Примеры

>>> idx = pd.PeriodIndex(["2023-01-01 10:00:30",
...                       "2023-01-01 10:00:31"], freq='s')
>>> idx.second
Index([30, 31], dtype='int64')

© 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/2.2.2/reference/api/pandas.PeriodIndex.second.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API