I have a very large CSR matrix with about 100K columns. A large number of those columns have value 0 for all rows. I want to remove those columns. How can I do?
E.g.
X= [[1,0,0,0,1], [1,0,0,1,1],[1,0,0,0,0],[1,0,0,1,1]]
The output should be
X= [[1,0,1], [1,1,1],[1,0,0],[1,1,1]]