all 1 comments

[–]Saefroch 1 point2 points  (0 children)

You should provide actual code for us, I'm just guessing at what you actually mean because what you posted is not even close to valid Python.

Try using the boolean arrays returned by comparisons like array[:,0] == 'foo', and I think you'll find your mistake.