SyntaxFix
Write A Post
Hire A Developer
Questions
Here's a variant that uses fancy indexing and has the actual values as an intermediate:
p31 = numpy.asarray(o31) values = p31[p31<200] za = len(values)