Skip to content

np.ma.asanyarray(x) is not x for any x #8666

@eric-wieser

Description

@eric-wieser

I would expect this to always be true:

>>> x = ...
>>> xm = np.ma.asanyarray(x)
>>> xm is np.ma.asanyarray(xm)
False  # what?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions