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