bigframes.pandas.api.typing.DatetimeMethods.second#
- property DatetimeMethods.second: Series#
The seconds of the datetime.
Examples:
>>> import bigframes.pandas as bpd >>> s = bpd.Series( ... pd.date_range("2000-01-01", periods=3, freq="s") ... ) >>> s 0 2000-01-01 00:00:00 1 2000-01-01 00:00:01 2 2000-01-01 00:00:02 dtype: timestamp[us][pyarrow] >>> s.dt.second 0 0 1 1 2 2 dtype: Int64