1

I have a bunch of scipy matrices (of the same #columns) loaded from disk.

I want to combine them into one scipy sparse matrix.

I am using scipy sparse vstack method.

I am able to load the matrices individually (with adequate memory left in RAM), but during the vstack operation, I am getting memory overflow error.

Can anyone suggest an alternative to vstack to stack sparse matrices?

SHASHANK GUPTA
  • 3,855
  • 4
  • 20
  • 26

0 Answers0