Skip to content

np.where does not work with Quantity #5842

@taldcroft

Description

@taldcroft
In [3]: a = [1,2] * u.m

In [4]: b = [3,4] * u.m

In [5]: np.where([False, True], a, b)
Out[5]: array([ 3.,  2.])

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