Numpy - How to select the rows of which the last element is 0?

前端 未结 0 712
迷失自我
迷失自我 2021-02-02 01:13

I for example have the numpy array:

array1 = [[1,2, 3], [2,4, 0], [1,2, 9]]

Then I only want to select the rows which don\'t end with a 0 like:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题