You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Document that describe is using approximate algorithms #10416
Calculating quantiles is difficult and expensive. For operations like {DataFrame|Series}.describe or quantile we're actually automatically falling back to an approximate algorithm.
This can be confusing, particularly for new users who are comparing results with pandas directly. While quantile is mentioning that this is approximate, describe doesn't even documenting the argument percentile_method since it's just inheriting the doc string from pandas
The percentile_method is not there because the docstring is directly coming from pandas lib and it is not there either.
if we want to add both requirements Approximate Algorithm and percentile_method in docstring then we directly need to add them as new docstring and remove the decorator which fetches the docstring from pandas as it doesn't have the required parameter.
If we just need to add the Approximate Algorithm to the docstring we can add the extra line in the docstring of describe() and the @derived_from(pd.DataFrame) will automatically fetch it. Line
Activity
AmirAflak commentedon Jul 18, 2023
would like to work on this :))
fjetter commentedon Jul 25, 2023
@AmirAflak yes please! Contributions are always welcome. If you need help getting started, see https://docs.dask.org/en/latest/develop.html#contributing-to-code or just ask here for help
MilesWeberman commentedon Dec 22, 2023
@fjetter I was wondering if this issue has been resolved. If not, I could give it a shot!
phofl commentedon Dec 22, 2023
Feel free to work on this, there is no PR yet
Mahas1234 commentedon Apr 22, 2024
Are there any more fixes needed. I'm looking for first contribution.
chawlajay9 commentedon Jul 21, 2024
Hi @fjetter,
The
percentile_methodis not there because the docstring is directly coming from pandas lib and it is not there either.ApproximateAlgorithm andpercentile_methodin docstring then we directly need to add them as new docstring and remove the decorator which fetches the docstring from pandas as it doesn't have the required parameter.ApproximateAlgorithm to the docstring we can add the extra line in the docstring ofdescribe()and the@derived_from(pd.DataFrame)will automatically fetch it. LineLet me know what is your thought.
Document approximate algorithms in describe() [issue dask#10416]
Docs: mention that describe() uses approximate algorithms (dask#10416)
Asmit0304 commentedon Oct 27, 2025
Hi, I’m new and would like to work on this issue. Could you please assign it to me?
jacobtomlinson commentedon Oct 28, 2025
@Asmit0304 we don't assign issues to first time contributors here. If you would like to open a PR to address this then please go ahead.
docs: document approximate algorithm and Dask-specific params in desc…