-
Notifications
You must be signed in to change notification settings - Fork 89
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
feat: add dt.to_string
to DaskExpr
#796
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's definitly more effort than expected! Thanks for putting the work on this ππΌ
I left only a nitpick comment on how to test/compare series values.
Edit: Just noticed the test failing, maybe a deeper look is needed π₯²
Co-authored-by: Francesco Bruzzesi <[email protected]>
@FBruzzesi thanks as always, could you check now? |
I am not able to replicate this failure in my local, any suggestions ? |
Sharing what I am discovering along the way: replacing What I mean exactly is: result = nw.from_native(df).select(
nw.col("a").dt.to_string("%Y-%m-%d")
) |
Do you think there might be an issue with Narwhals' internals ? Or just Modin? |
I would not assume is something going wrong with narwhals since for pandas there are no issues and the logic should be the same. Apart from that, I never worked with modin directly π₯² @MarcoGorelli would you mind weighting in for this whenever you have the time? |
thanks for the ping! will take a look at this and other open prs later today π |
looks like a bug in Modin - I've reported it to them here modin-project/modin#7371 shall we just xfail this test for modin for now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @lucianosrp and @FBruzzesi for reviewing
I think you also need to xfail test_dt_to_string_iso_local_datetime_expr
- then it should be good to go, feel free to merge once that's addressed (just check that all tests, apart from pyarrow-nightly, pass)
Thanks @FBruzzesi and @MarcoGorelli as always π«‘ |
What type of PR is this? (check all applicable)
Related issues
Checklist
If you have comments or can explain your changes, please do so below.
Dask seems to be failing forSolved%.f
, any suggesstions on how to handle it ?