Skip to content

Invalid typing for df.to_csv #962

Open
@JensHeinrich

Description

@JensHeinrich

There probably should be a switch like

if sys.version_info >= (3, 12):
    CSVQuoting: TypeAlias = Literal[0, 1, 2, 3, 4,5]
else:
    CSVQuoting: TypeAlias = Literal[0, 1, 2, 3]

at

CSVQuoting: TypeAlias = Literal[0, 1, 2, 3]

as QUOTE_STRINGS and QUOTE_NOTNULL options have been added in python 3.12

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