[Numpy-discussion] apply 'getitem to each element of obj array?

Neal Becker ndbecker2@gmail....
Thu Apr 5 10:31:36 CDT 2012


I have an array of object.

How can I apply attribute access to each element?

I want to do, for example,
np.all (u.some_attribute == 0) for all elements in u? 



More information about the NumPy-Discussion mailing list