Skip to content

Document that describe is using approximate algorithms #10416

Closed

Description

@fjetter

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

Activity

  1. added
    good first issue
    documentation
    on Jul 18, 2023
  2. AmirAflak commented on Jul 18, 2023

    @AmirAflak

    would like to work on this :))

  3. fjetter commented on Jul 25, 2023

    @fjetter
    MemberAuthor

    @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

  4. MilesWeberman commented on Dec 22, 2023

    @MilesWeberman

    @fjetter I was wondering if this issue has been resolved. If not, I could give it a shot!

  5. phofl commented on Dec 22, 2023

    @phofl
    Collaborator

    Feel free to work on this, there is no PR yet

  6. Mahas1234 commented on Apr 22, 2024

    @Mahas1234

    Are there any more fixes needed. I'm looking for first contribution.

  7. chawlajay9 commented on Jul 21, 2024

    @chawlajay9

    Hi @fjetter,

    The percentile_method is not there because the docstring is directly coming from pandas lib and it is not there either.

    1. 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.
    2. 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

    Let me know what is your thought.

  8. Asmit0304 commented on Oct 27, 2025

    @Asmit0304

    Hi, I’m new and would like to work on this issue. Could you please assign it to me?

  9. jacobtomlinson commented on Oct 28, 2025

    @jacobtomlinson
    Member

    @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.

  10. added a commit that references this issue on Feb 19, 2026
    04e8a42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

dataframedocumentationgood first issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions