modin.pandas.Series.dt.date¶
- Series.dt.date[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#L595-L597)¶
Returns a series of python
datetime.date
objects.Namely, the date part of Timestamps without time and timezone information.
Examples
For Series:
>>> s = pd.Series(["2020-01-01 01:23:00", "2020-02-01 12:11:05"]) >>> s = pd.to_datetime(s) >>> s 0 2020-01-01 01:23:00 1 2020-02-01 12:11:05 dtype: datetime64[ns] >>> s.dt.date 0 2020-01-01 1 2020-02-01 dtype: object