Picking of elements of a list by subelement

Viewed 30

I have a numpy array of form

array=[[x1,y1,z1],[x2,y2,z2],...]

and I need to generate two new arrays from this, one containing all the elements which its x part is 0, and the other containing all other elements. What's the most efficient way to execute this?

0 Answers
Related