how to change all column in a dataframe from string to float 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)