Skip to content

BUG: ufunc on ragged object array emits a warning #15045

@mattip

Description

@mattip

After merging gh-14794 this emits a DeprecationWarning

$ python3 -Werror

>>> import numpy as np
>>> arr = np.array(["a", "b"], dtype=object)
>>> objs = [arr, "foo", arr]
>>> np.sum(objs, axis=0)

xref gh-15041

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