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