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

refactor(python): Add type alias IntoExprColumn #11296

Merged
merged 2 commits into from
Sep 25, 2023
Merged

Conversation

stinodego
Copy link
Member

@stinodego stinodego commented Sep 25, 2023

This will help narrow down some type signatures, as IntoExpr was too broad in many cases.

This new type allows any input that converts into a col expression: Expr, Series, and str.

@stinodego stinodego changed the title Type alias into expr refactor(python): Add type alias IntoExprColumn Sep 25, 2023
@github-actions github-actions bot added internal An internal refactor or improvement python Related to Python Polars labels Sep 25, 2023
@stinodego stinodego marked this pull request as ready for review September 25, 2023 05:54
@stinodego stinodego merged commit 480a823 into main Sep 25, 2023
16 checks passed
@stinodego stinodego deleted the type-alias-into-expr branch September 25, 2023 06:28
romanovacca pushed a commit to romanovacca/polars that referenced this pull request Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal An internal refactor or improvement python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant