0
Have some python solution to use something similar to np.all in arrays that are filled with strings or ints?
Below an example of what I wish, perform the comparison of a row of the matrix to verify that all elements are equal.
tab2 = [
['X','O','X'],
['X','X','X'],
['O','O','O'],
]
for i in range(0, len(tab2)):
tab = tab2[:i]
x = np.all(tab)
print (x)
if (x):
break
else:
tab = 0