Skip to content

Fix type annotations in pandas.core.computation #26294

Closed
@gwrome

Description

@gwrome

Part of #25882

The files in pandas.core.computation have the following errors:

pandas/core/computation/ops.py:169: error: Read-only property cannot override read-write property
pandas/core/computation/pytables.py:59: error: Read-only property cannot override read-write property
pandas/core/computation/pytables.py:384: error: Incompatible types in assignment (expression has type "Type[pandas.core.computation.pytables.Constant]", base class "BaseExprVisitor" defined the type as "Type[pandas.core.computation.ops.Constant]")

Pull request to follow.

Metadata

Metadata

Assignees

No one assigned

    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