a[lambda i: i > 5] = 0
Probably would expect something like this
np.set(a, lambda i: i > 5, 0)
But that might be too cumbersome when combining values from multiple arrays.
x[4 5 6] is index access (“at”); also x@4 5 6 x[&x>3] is “x at where x is greater than 3” ; can also be written x@&x>3
a[lambda i: i > 5] = 0
Probably would expect something like this
np.set(a, lambda i: i > 5, 0)
But that might be too cumbersome when combining values from multiple arrays.