woom.util.WoomDate.quarter

Contents

woom.util.WoomDate.quarter#

WoomDate.quarter#

Return the quarter of the year.

Return type:

int

Examples

>>> ts = pd.Timestamp(2020, 3, 14)
>>> ts.quarter
1