This is documentation for an old release of SciPy (version 0.12.0). Read this page in the documentation of the latest stable release (version 1.15.0).

scipy.sparse.csr_matrix.asfptype

csr_matrix.asfptype()[source]

Upcast matrix to a floating point format (if necessary)

Previous topic

scipy.sparse.csr_matrix.asformat

Next topic

scipy.sparse.csr_matrix.astype