pandas.Period.month#
- Period.month#
Return the month this Period falls on.
Examples
>>> period = pd.Period('2022-01', 'M') >>> period.month 1
Site Navigation
Return the month this Period falls on.
Examples
>>> period = pd.Period('2022-01', 'M')
>>> period.month
1