pyspark.pandas.DatetimeIndex.is_quarter_start

property DatetimeIndex.is_quarter_start

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

Returns
is_quarter_startIndex

Returns an Index with boolean values.

See also

quarter

Return the quarter of the date.

is_quarter_end

Similar property for indicating the quarter start.

Examples

>>> idx = ps.date_range('2017-03-30', periods=4)
>>> idx.is_quarter_start
Index([False, False, True, False], dtype='object')