Skip to content

TYP tighten any return type #44802

Closed
@MarcoGorelli

Description

@MarcoGorelli

Currently, any returns Series | bool.

However, for DataFrame.any the return type should be Series, and for Series.any the return type should be bool.

Marking as good first issue, but please only attempt this if you already have some experience with Python typing and mypy.

Metadata

Metadata

Assignees

Labels

Typingtype annotations, mypy/pyright type checking

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions