Skip to content

ValueError: Mismatched dtypes found in pd.read_csv/pd.read_table. #16

@moniwaldherr

Description

@moniwaldherr

I got the following error:
ValueError: Mismatched dtypes found in pd.read_csv/pd.read_table. chromosome
ValueError("invalid literal for int() with base 10: 'X'")
Usually this is due to dask's dtype inference failing, and
may be fixed by specifying dtypes manually by adding:

dtype={'chromosome': 'object'}

After some testing, I was able to ressolve it by adding dtype={'chromosome': 'object'} to the lines 19, 23, 94, 98 in utils.py.

Best,
Monika

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions