SciPy

scipy.sparse.spmatrix.asfptype

spmatrix.asfptype(self)[source]

Upcast matrix to a floating point format (if necessary)

Previous topic

scipy.sparse.spmatrix.asformat

Next topic

scipy.sparse.spmatrix.astype