scipy.sparse.dia_matrix.asfptype

dia_matrix.asfptype()[source]

Upcast array to a floating point format (if necessary)