I've come across numpy syntax I don't entirely understand. Here it is:
array[:, mask] = a
array
is a numpy array of indeces, mask
is a numpy array of bool values and a
is an integer.
Could someone please translate this notation for me?
I couldn't find the answer anywhere online.