I am using a numpy memmap
object that acts as a 2D array:
In [8]: data_2d.shape
Out[8]: (16777216, 50)
What is the best way to delete a row in which the sum of that row is zero?
I am using a numpy memmap
object that acts as a 2D array:
In [8]: data_2d.shape
Out[8]: (16777216, 50)
What is the best way to delete a row in which the sum of that row is zero?