Skip to content

API: require __array__ in EA interface #45093

@jbrockmendel

Description

@jbrockmendel

Confusion on this point has come up a couple times, in part because np.asarray(self) is called in several of the base class methods.

We should also require that np.asarray(self) match self.to_numpy() i.e. when no args/kwargs are specified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions