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