Skip to content

creating an Axis with mixed type does not work #910

Open
@gdementen

Description

@gdementen
>>> Axis([0, "a"], "value")
Axis(['0', 'a'], 'value')

The only workaround I know is to force the dtype at the numpy level:

>>> Axis(np.array([0, "a"], dtype=object), "value")
Axis([0, 'a'], 'value')

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions