pandas.DatetimeIndex.quarter

DatetimeIndex.quarter

The quarter of the date