pandas.Period.quarter — pandas 2.2.3 documentation (original) (raw)
Period.quarter#
Return the quarter this Period falls on.
Examples
period = pd.Period('2022-04', 'M') period.quarter 2
Period.quarter#
Return the quarter this Period falls on.
Examples
period = pd.Period('2022-04', 'M') period.quarter 2