scipy.sparse.spmatrix.

asfptype#

spmatrix.asfptype()[source]#

Upcast matrix to a floating point format (if necessary)