Skip to content

read_excel/index_col: string not accepted #809

Closed
@clo-vis

Description

@clo-vis

Either the documentation or the type hint for index_col in pandas.read_excel is wrong.

The documentation says a string may be used.

The type hint forbids that

Documentation:
index_col int, str, list of int, default None

Type hints:
index_col: int | Sequence[int] | None = ...,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions