Skip to content

BUG: invalid dtypes should raise #15520

Closed
@jreback

Description

@jreback

xref dask/dask#1965

when an explict dtype is provided, we should raise if its not a valid numpy/pandas dtype.

In [1]: pd.Series([], name='time',dtype=pd.Timestamp)
Out[1]: Series([], Name: time, dtype: object)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Dtype ConversionsUnexpected or buggy dtype conversionsError ReportingIncorrect or improved errors from pandas

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions