pyspark.pandas.DatetimeIndex.is_quarter_end

property DatetimeIndex.is_quarter_end

Indicator for whether the date is the last day of a quarter.

Returns
is_quarter_endIndex

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='bool')