I have a data frame in pandas in python which resembles something like this -
contest_login_count contest_participation_count ipn_ratio 0
I think there is problem dtype of some column is not float.
dtype
float
You need cast it by astype:
df['colname'] = df['colname'].astype(float)