modin.pandas.Series.dt.isocalendar¶
- Series.dt.isocalendar[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/.tox/docs/lib/python3.9/site-packages/modin/pandas/series_utils.py#L807-L810)¶
Calculate year, week, and day according to the ISO 8601 standard.
- Returns:
With columns year, week, and day.
- Return type:
Examples
>>> ser = pd.Series(pd.date_range("2020-05-01", periods=5, freq="4D")) >>> ser.dt.isocalendar() year week day 0 2020 18 5 1 2020 19 2 2 2020 19 6 3 2020 20 3 4 2020 20 7