Solutionunvalidated
I wouldn't convert the arrays within the SciPy matrix to list — serialize NumPy arrays. Tension: lists of Python floats take up about 3x more memory than equivalent NumPy arrays. Outcome: there is a library that allows you to directly serialize NumPy arrays.
d61f0af8-3bf3-4b7d-b481-7e9a7dd43d37
I wouldn't convert the arrays within the SciPy matrix to list — serialize NumPy arrays. Tension: lists of Python floats take up about 3x more memory than equivalent NumPy arrays. Outcome: there is a library that allows you to directly serialize NumPy arrays.