Is there a built in method to find a non numpy element in an array containing numpy arrays.
I tried
arr = [np.array(1,0), np.array(0,1), 0] print(0 in arr)
But it resulted in ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()