Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

np.all

# np.all checks if all of the elements along an axis evaluate to true

a = [x for x in range(0, 10)]
b = np.array(a)
print(np.all(a ==b))

# output is True
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
2+2 =