📅  最后修改于: 2022-03-11 14:45:25.161000             🧑  作者: Mango
# 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