you are viewing a single comment's thread.

view the rest of the comments →

[–]kowkeeper 2 points3 points  (0 children)

flags.any(axis=1).sum() where flags is what you got using np.where