SyntaxFix
Write A Post
Hire A Developer
Questions
I'd use np.all here, if you have an array a:
>>> np.all(a==0)