SciPy
csr_matrix.asfptype
Upcast array to a floating point format (if necessary)
previous
scipy.sparse.csr_matrix.asformat
next
scipy.sparse.csr_matrix.astype