could not convert string to float pandas code example
Example 1: make string numeric pandas
df['DataFrame Column'] = df['DataFrame Column'].astype(int)
Example 2: panda dataframe read csv change string to float
df['DataFrame Column'] = df['DataFrame Column'].astype(float)