SciPy

scipy.sparse.csr_matrix.asfptype

csr_matrix.asfptype(self)[source]

Upcast matrix to a floating point format (if necessary)

Previous topic

scipy.sparse.csr_matrix.asformat

Next topic

scipy.sparse.csr_matrix.astype