pandas.Timestamp.quarter#
- Timestamp.quarter#
- Return the quarter of the year. - Returns:
- int
 
 - Examples - >>> ts = pd.Timestamp(2020, 3, 14) >>> ts.quarter 1 
Site Navigation
Return the quarter of the year.
Examples
>>> ts = pd.Timestamp(2020, 3, 14)
>>> ts.quarter
1