DatetimeIndex.
is_quarter_end
Indicator for whether the date is the last day of a quarter.
Returns an Index with boolean values.
See also
quarter
Return the quarter of the date.
is_quarter_start
Similar property indicating the quarter start.
Examples
>>> idx = ps.date_range('2017-03-30', periods=4) >>> idx.is_quarter_end Index([False, True, False, False], dtype='object')