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

feat!: Rename cut/qcut struct fields #10520

Closed
wants to merge 1 commit into from
Closed

Conversation

stinodego
Copy link
Member

If include_breaks=True, the output of cut/qcut is a struct. This improves the field names:

  • brk -> break
  • NAME_bin -> category

I believe this change is mild enough to be included without a prior deprecation warning.

Related: the design of these functions breaks our premise of one expression = one data type. The Lazy schema is incorrect too. But this is a separate discussion.

@github-actions github-actions bot added breaking Change that breaks backwards compatibility enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars labels Aug 16, 2023
@stinodego
Copy link
Member Author

Closing this for now in favor of a more rigorous refactor discussed in #10468

@stinodego stinodego closed this Aug 17, 2023
@stinodego stinodego deleted the cut-qcut-struct-names branch February 7, 2024 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Change that breaks backwards compatibility enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant