pandas.Series.dt.quarter

Series.dt.quarter

The quarter of the date