scipy.sparse
scipy.sparse.csr_matrix.asformat
scipy.sparse.csr_matrix.astype
csr_matrix.
asfptype
Upcast matrix to a floating point format (if necessary)