[FEA] Add support for cudf.Timedelta scalar support
- 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.**
This is a Feature request for `cudf.Timedelta` similar to `pd.Timedelta` scalar duration type.
**Describe the solution you'd like**
`cudf.Timedelta` can be a wrapper on `Scalar(dtype='np.timedelta64')` object.
**Additional context**
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Timedelta.html
https://github.com/rapidsai/cudf/pull/5781
Contributor guide
Research direction
Start with the existing Scalar(dtype='np.timedelta64') entry point and compare the requested API with pandas.Timedelta using the linked pandas reference and PR 5781. Determine the supported cudf.Timedelta scalar behavior and integration points; done means cudf exposes a working Timedelta scalar with behavior consistent with the requested pandas-like duration type.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100