modin.pandas.DatetimeIndex.quarter

property DatetimeIndex.quarter: Index[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/modin/plugin/extensions/datetime_index.py#L496-L512)

The quarter of the date.

Return type:

An Index Containing quarter of the date.

Examples

>>> idx = pd.DatetimeIndex(["1/1/2020 10:00:00+00:00",
...                         "2/1/2020 11:00:00+00:00"])
>>> idx.quarter
Index([1, 1], dtype='int64')
Copy
Language: English