Skip to content

DeprecationWarning: The argument dtypes for read_csv is deprecated. #50

@dchen116

Description

@dchen116
site-packages\gtfparse\read_gtf.py:106: DeprecationWarning: The argument `dtypes` for `read_csv` is deprecated. It has been renamed to `schema_overrides`.
    df = polars.read_csv(

kwargs = dict(
has_header=False,
separator="\t",
comment_prefix="#",
null_values=".",
dtypes=DEFAULT_COLUMN_DTYPES)
try:
df = polars.read_csv(
filepath_or_buffer,
new_columns=REQUIRED_COLUMNS,
**kwargs).lazy()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions