Skip to content

DOC: Deprecation of level keyword #48162

Closed
@amotzop

Description

@amotzop

Pandas version checks

  • I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.all.html
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.any.html
https://pandas.pydata.org/docs/reference/api/pandas.Series.all.html
https://pandas.pydata.org/docs/reference/api/pandas.Series.any.html

Documentation problem

It seems that the level keyword in the all/any methods of Series/Dataframe are deprecated (using them raises a FutureWarning), but don't appear to be deprecated in the documentation.

Suggested fix for documentation

Add a deprecation warning comment for the level keyword in the relevant documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocsNeeds TriageIssue that has not been reviewed by a pandas team member

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions