刪除特定值有一個numpy的ndarray看起來像:我如何從numpy的ndarray
[[ 0 0 0],
[ 0 0 0],
[ 0 0 0],
[ 0 0 0],
[ 0 0 0],
[ 0 0 0],
[ 0 0 0],
[225 224 228],
[163 164 174],
[205 212 229],
[116 130 153],
[ 81 101 132],
[ 34 56 92],
[ 2 16 35],
[ 33 44 64],
[ 38 49 71],
[ 63 75 99],
[ 76 88 116],
[ 45 62 95],
[ 29 50 88],
[ 18 40 82],
[ 0 0 0],
[ 0 0 0],
[ 0 0 0],
[ 0 0 0],
[ 0 0 0],
[ 0 0 0],
[ 0 0 0]]
我想刪除所有即[0,0,0]
零個元素。我怎樣才能做到這一點?
的[我如何從刪除行可能的複製基於多個條件的numpy數組?](http://stackoverflow.com/questions/25380255/how-do-i-remove-rows-from-a-numpy-array-based-on-multiple-conditions) – languitar