-
Notifications
You must be signed in to change notification settings - Fork 36
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
Bump rust-polars to 0.34 #442
Conversation
There shouldn't be remaining test failures on R or Rust side. However, examples using |
Thank you for working on this! |
Sure, go ahead with 0.9.0 |
Looks like the last thing to do is to fix the |
I tried several things and I'm stuck here: pub fn cumsum(&self, reverse: bool) -> Series {
pl::cumsum(self, reverse)
.map(Series)
.unwrap()
} The compiler tells me that |
@sorhawell if you have time, it would be great if you could review the changes related to the string cache since you discussed it with the rust-polars team |
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.
Thank you for accomplishing this almost single-handedly!
I am excited to get this merged and have access to the new features.
Obviously there is some testing and documentation missing on the R side, but those can be added later.
dbe42ad
to
f0f010f
Compare
Good thing I had a lot of travel by train these last days 😄 many thanks for your help @eitsupi Just waiting a bit to see if @sorhawell has some remarks, otherwise I'll merge later |
Not bad :) I think I have something to add |
I was initially concerned for a corner of nested pl$with_string_cache({
df1 = pl$DataFrame(head(iris, 2))
pl$with_string_cache("foobar")
df2 = pl$DataFrame(tail(iris, 2))
pl$concat(list(df1, df2))
}) as when disabling an inner with_string_cache() that would the affect the outer. You cleverly avoid all that with the I commit and suggest we derive Feel free to roll back this commit and we will be fine also with your solution :) |
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.
@etiennebacher thank you so much, this is very good work
Many thanks @sorhawell, that's definitely something I missed in rust-polars. I intend to use the string cache more in |
Close #404
Changelog: https://github.com/pola-rs/polars/releases/tag/rs-0.34.0
@eitsupi @sorhawell no rush on this, I'm just opening this PR to get the ball rolling. I'm fine with releasing polars 0.9.0 either before or after this is merged.