You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In Pandas, it is possible to extract the date from a column of datetime objects using the date attribute of the DatetimeProperties:
I'm not sure if there's a more performant way to achieve this using _get_dt_field.
Additional context
This is coming up as a blocker for some datetime casting work in dask-contrib/dask-sql#343. If it is reasonably performant to use strftime here we can use that instead of date.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
In Pandas, it is possible to extract the date from a column of datetime objects using the
date
attribute of theDatetimeProperties
:This attribute doesn't exist in cuDF's
DatetimeProperties
:Describe the solution you'd like
It would be nice to have a
date
attribute for theDatetimeProperties
to match up with the one in Pandas.Describe alternatives you've considered
It is possible to compute roughly the same series using
strftime
:I'm not sure if there's a more performant way to achieve this using
_get_dt_field
.Additional context
This is coming up as a blocker for some datetime casting work in dask-contrib/dask-sql#343. If it is reasonably performant to use
strftime
here we can use that instead ofdate
.The text was updated successfully, but these errors were encountered: