NVIDIA / NVIDIA/cudf

[FEA] dt.date to extract date from a timestamp

Open
#7,880 12 comments 0 reactions 0 assignees View on GitHub
feature request Python wontfix
Dominant language
C++
Stars
9.8k
Forks
1.1k
Avg merge
3d 6m
Merged PRs (30d)
278

Description

**Is your feature request related to a problem? Please describe.**
As a user, I want to be able to extract the date from a timestamp.
Pandas uses `.dt.date` - for example `df_train['timestamp'].to_pandas()).dt.date`

The reason is, that my timestamp contains Year-Month-Day and Hour-Minute.
I want to use the DATE as the index and apply shift functions based on differences in days.
Therefore, I want to extract only the date and not include the hour or minute.

**Describe the solution you'd like**
Similar to pandas, support .dt.date

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.