pandas.Series.dt.quarter

Series.dt.quarter[source]

The quarter of the date.