Tuesday, 11 August 2009

array version of z.index(4)

To search for the value, 3 in a:

np.where(a == 0)

No comments:

Post a Comment