Closed brokkoli71 closed 2 weeks ago
fixes #1963
Changes:
a[mask_selection]
a[bool_selection_axis1, bool_selection_axis2]
Example For an Array
data = np.arange(9, dtype="uint16").reshape(3, 3) z = Array.create( StorePath(MemoryStore(mode="w")), shape=data.shape, chunk_shape=(data.shape), dtype=data.dtype, ) z[:] = data mask = np.tile([True, False, True], (3, 1))
Each of the following failed before and works now
print(z[mask]) z[mask] = 42 print(z[[True, False, True], [True, False, True]]) z[[True, False, True], [True, False, True]] = 10
fixes #1963
Changes:
a[mask_selection]
a[bool_selection_axis1, bool_selection_axis2]
Example For an Array
Each of the following failed before and works now