Sparse matrix slicing using list of int
I’m writing a machine learning algorithm on huge & sparse data (my matrix is of shape (347, 5 416 812 801) but very sparse, only 0.13% of the data is non zero.
I’m writing a machine learning algorithm on huge & sparse data (my matrix is of shape (347, 5 416 812 801) but very sparse, only 0.13% of the data is non zero.
I noticed Pandas now has support for Sparse Matrices and Arrays. Currently, I create DataFrame()s like this: