Skip to content

BUG: np.dtype("Float16") raising inconsistently depending on locale #20512

@jbrockmendel

Description

@jbrockmendel

In pandas-dev/pandas#44715 I depend on np.dtype("Float16") to raise TypeError: data type 'Float16' not understood, and it does on most CI builds.

Two builds on which it does not raise are 1) a build with locale.getlocale()[0] != "en_US" and 2) a py310 windows build with npdev.

Metadata

Metadata

Assignees

No one assigned

    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