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): clarify that median is equivalent to the 50% percentile shown in describe metrics #11694

Merged
merged 2 commits into from
Oct 13, 2023

Conversation

alexander-beedie
Copy link
Collaborator

@alexander-beedie alexander-beedie commented Oct 12, 2023

Closes #11691, by clarifying that the 50% percentile is the median.

(Also, as a minor drive-by, includes the 0.50 median in the default percentiles instead of injecting it specially, as otherwise there is no way to exclude that percentile, if desired - this does not change the default behaviour, it just makes things a bit more consistent by allowing the median percentile to play nice with the "percentiles" param).

@github-actions github-actions bot added documentation Improvements or additions to documentation python Related to Python Polars labels Oct 12, 2023
@ritchie46 ritchie46 merged commit 8bb0b93 into pola-rs:main Oct 13, 2023
@alexander-beedie alexander-beedie deleted the describe-median-pecentile branch October 13, 2023 05:56
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.

Add median to the output of df.describe() method
2 participants