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

docs(python): use more ergonomic syntax in select/with_columns where possible #12101

Merged
merged 2 commits into from
Oct 30, 2023

Conversation

MarcoGorelli
Copy link
Collaborator

really minor but I've come across people who were putting square brackets everywhere and didn't know about the improvements from #6667 - so, I'm suggesting to use it more in the docs so people know about it

@github-actions github-actions bot added documentation Improvements or additions to documentation python Related to Python Polars labels Oct 29, 2023
Copy link
Member

@stinodego stinodego left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea - I do this too whenever I encounter this somewhere. Just one comment.

py-polars/polars/expr/expr.py Outdated Show resolved Hide resolved
@MarcoGorelli MarcoGorelli marked this pull request as ready for review October 30, 2023 07:59
Copy link
Member

@stinodego stinodego left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@MarcoGorelli
Copy link
Collaborator Author

thank you, and good one for catching #12101 (comment) (my hope is I'd have noticed before marking as 'ready for review', or so I'd like to think)!

@stinodego
Copy link
Member

stinodego commented Oct 30, 2023

thank you, and good one for catching #12101 (comment) (my hope is I'd have noticed before marking as 'ready for review', or so I'd like to think)!

I'm sure you would have - I was done reviewing and then I noticed it was still in draft 😅 woops

@stinodego stinodego merged commit b881b8a into pola-rs:main Oct 30, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants