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

depr(python): Deprecate shift_and_fill in favor of shift #11955

Merged
merged 8 commits into from
Oct 24, 2023

Conversation

stinodego
Copy link
Member

@stinodego stinodego commented Oct 23, 2023

Closes #10629

In the Python API, it makes a lot of sense for this to be one function, with an optional fill_value.

In the Rust API, it actually makes sense for there to be two separate functions, as there are no default arguments. So I left the Rust side intact.

@github-actions github-actions bot added deprecation Add a deprecation warning to outdated functionality python Related to Python Polars labels Oct 23, 2023
@stinodego stinodego marked this pull request as ready for review October 23, 2023 13:59
@stinodego stinodego marked this pull request as draft October 23, 2023 18:56
@stinodego stinodego marked this pull request as ready for review October 23, 2023 19:38
@stinodego stinodego merged commit ca160cf into main Oct 24, 2023
13 checks passed
@stinodego stinodego deleted the shift-fill-depr branch October 24, 2023 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecation Add a deprecation warning to outdated functionality python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

consolidate shift and shift_and_fill
2 participants