Skip to content

Typing names argument in select_columns_by_name #212

Closed
@mroeschke

Description

@mroeschke

Currently DataFrame.select_columns_by_name has names typed as names: Sequence[str].

I think the intention here is Sequence is a non-scalar container of string labels, but Sequence[str] also matches a pure str.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions