change the column datatype from string to float python code example
Example: panda dataframe read csv change string to float
df['DataFrame Column'] = df['DataFrame Column'].astype(float)
df['DataFrame Column'] = df['DataFrame Column'].astype(float)