Skip to content

DOC: Missing type hint for squeeze method #60384

Closed
@JessJohn0

Description

@JessJohn0

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://github.com/pandas-dev/pandas/blob/main/pandas/core/generic.py

Documentation problem

The squeeze method is missing a type hint.

Suggested fix for documentation

Adding a type hint to the squeeze method to be consistent with the rest of the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Typingtype annotations, mypy/pyright type checking

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions