cudf.core.series.DatetimeProperties.is_quarter_end#
- property DatetimeProperties.is_quarter_end#
Boolean indicator if the date is the last day of a quarter.
- Returns
- Series
- Booleans indicating if dates are the end of a quarter
Examples
>>> import pandas as pd, cudf >>> s = cudf.Series( ... pd.date_range(start='2000-09-26', end='2000-10-03', freq='1D')) >>> s 0 2000-09-26 1 2000-09-27 2 2000-09-28 3 2000-09-29 4 2000-09-30 5 2000-10-01 6 2000-10-02 7 2000-10-03 dtype: datetime64[ns] >>> s.dt.is_quarter_end 0 False 1 False 2 False 3 False 4 True 5 False 6 False 7 False dtype: bool