SyntaxFix
Write A Post
Hire A Developer
Questions
nan is never equal to nan
if z!=z:z=0
so for a 2D array
for entry in nparr: if entry!=entry:entry=0