modin.pandas.DatetimeIndex.is_quarter_start¶
- property DatetimeIndex.is_quarter_start: Index[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/modin/plugin/extensions/datetime_index.py#L559-L582)¶
Indicator for whether the date is the first 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_end
Similar property indicating the last 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_start Index([False, False, True, False], dtype='bool')