scipy.sparse.csc_matrix.asfptype

csc_matrix.asfptype()

Upcast matrix to a floating point format (if necessary)

This Page