-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add .dt.replace #8879
Comments
I don't know how to monkey patch this into the
then you can do
|
Thanks @deanm0000 . Yeah, I currently have my own monkeypatched methods but I felt it would be a good addition to the API. FYI, when you post code in github, you can fence it with a language, e.g. |
@MarcoGorelli does someone want to accept this feature request? I can work on it but I don't want to spend the time if it's not desired/will be rejected. |
(FYI this is the original one :D) |
sure, marking as 'accepted', feel free to ping me for review |
i don't think anyone's actively working on it, are you interetsed in taking it? EDIT: not sure why github is displaying this comment above @Andre-Medina 's below, even though my comment came after, my guess is that it's a DST-related but at GitHub 🤣 (today the clocks changed in the US, but not in the UK where I live) |
was this issue still being worked on? |
I wish I had the rust know how. I looked into this issue a few months back but my 0 rust experience held me back, especially with how technical the polars repo seems to be. Would love to learn one day :)
Haha wow that's very odd. For me it says your comment is slightly older. Love DST. thought everything would be UNIX timestamped tho? |
I have an almost-working implementation, just need to find some time one of these days to finalize it. |
Problem description
datetime.date
has areplace
function that lets you immediately set the day/month/year:This would be a nice feature for series/expressions, especially if the input arg could also be an expression:
The text was updated successfully, but these errors were encountered: