Skip to content

TYP: clean notations in the wrong place #39108

@jreback

Description

@jreback

https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L1294

# To track operations that expand dimensions, like ohlc
OutputFrameOrSeries = TypeVar("OutputFrameOrSeries", bound=NDFrame)

at the very least this should be in pandas._typing. puzzled why we need this at all, as this is the same as FrameOrSeries

Metadata

Metadata

Assignees

No one assigned

    Labels

    Closing CandidateMay be closeable, needs more eyeballsTypingtype 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