Check if variable is defined with Numpy array?
Just use np.all
or np.any
instead of the .all
method. np.all
will create an array if it is not one yet.
Just use np.all
or np.any
instead of the .all
method. np.all
will create an array if it is not one yet.