modin.pandas.DatetimeIndex.is_quarter_end¶
- property DatetimeIndex.is_quarter_end: Index[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/modin/plugin/extensions/datetime_index.py#L584-L607)¶
Indicator for whether the date is the last day of a quarter.
- Returns:
An Index with boolean values. Note this is different from native pandas which
returns a python array.
See also
is_quarter_start
Similar property indicating the first day of the quarter.
Examples
>>> idx = pd.date_range('2017-03-30', periods=4) >>> idx DatetimeIndex(['2017-03-30', '2017-03-31', '2017-04-01', '2017-04-02'], dtype='datetime64[ns]', freq=None)
>>> idx.is_quarter_end Index([False, True, False, False], dtype='bool')