scipy.sparse.dok_array.asfptype

dok_array.asfptype()[source]

Upcast matrix to a floating point format (if necessary)