bigframes.pandas.api.typing.DatetimeMethods.month#
- property DatetimeMethods.month: Series#
The month as January=1, December=12.
Examples:
>>> s = bpd.Series( ... pd.date_range("2000-01-01", periods=3, freq="M") ... ) >>> s 0 2000-01-31 00:00:00 1 2000-02-29 00:00:00 2 2000-03-31 00:00:00 dtype: timestamp[us][pyarrow] >>> s.dt.month 0 1 1 2 2 3 dtype: Int64