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: Explanation in aggregation.md did not match code example #17859

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

w00kie
Copy link

@w00kie w00kie commented Jul 25, 2024

Explanation referenced pl.count("party") which was not present in the provided code example.

See issue #17858

Explanation did not match code example.
@alexander-beedie alexander-beedie changed the title Explanation in aggregation.md did not match code example docs: Explanation in aggregation.md did not match code example Jul 25, 2024
@github-actions github-actions bot added documentation Improvements or additions to documentation python Related to Python Polars rust Related to Rust Polars and removed title needs formatting labels Jul 25, 2024
@@ -17,8 +17,7 @@ Per GROUP `"first_name"` we
<!-- dprint-ignore-start -->

- count the number of rows in the group:
- short form: `pl.count("party")`
- full form: `pl.col("party").count()`
- full form: `pl.len()`
Copy link
Collaborator

Choose a reason for hiding this comment

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

Given that this is now the only form given, doesn't seem to be a need to label it "full form" 🤔

Copy link
Author

Choose a reason for hiding this comment

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

Removed the "full form" sub line

Remove "full form" as there is only one form for counting number of rows
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 rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants