scipy.sparse.dok_matrix.asfptype

dok_matrix.asfptype()[source]

Upcast array to a floating point format (if necessary)