pandas.Period.second — pandas 2.2.3 documentation (original) (raw)
Period.second#
Get the second component of the Period.
Returns:
int
The second of the Period (ranges from 0 to 59).
Examples
p = pd.Period("2018-03-11 13:03:12.050000") p.second 12