Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEA] DatetimeProperties day_name matching pandas #12407

Closed
mattf opened this issue Dec 17, 2022 · 0 comments · Fixed by #15479
Closed

[FEA] DatetimeProperties day_name matching pandas #12407

mattf opened this issue Dec 17, 2022 · 0 comments · Fixed by #15479
Labels
feature request New feature or request Python Affects Python cuDF API.

Comments

@mattf
Copy link

mattf commented Dec 17, 2022

Is your feature request related to a problem? Please describe.
converting code with import cudf as pd

>>> import cudf as pd
>>> pd.__version__
'22.12.01'
>>> df = pd.Series(pd.date_range("1984", freq='s', periods=6))
>>> df.to_pandas().dt.day_name()
0    Sunday
1    Sunday
2    Sunday
3    Sunday
4    Sunday
5    Sunday
dtype: object
>>> df.dt.day_name()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'DatetimeProperties' object has no attribute 'day_name'
>>> type(df.dt)
<class 'cudf.core.series.DatetimeProperties'>

Describe the solution you'd like
implementation of day_name() matching https://pandas.pydata.org/docs/reference/api/pandas.Series.dt.day_name.html

@mattf mattf added Needs Triage Need team to review and classify feature request New feature or request labels Dec 17, 2022
@shwina shwina added Python Affects Python cuDF API. and removed Needs Triage Need team to review and classify labels Jan 3, 2023
@rapids-bot rapids-bot bot closed this as completed in ba1299d Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request Python Affects Python cuDF API.
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants