str to float pandas series code example
Example 1: how to convert a pandas series from int to float in python
df['DataFrame Column'] = df['DataFrame Column'].astype(float)
Example 2: pandas dataframe convert string to float
df_raw['PricePerSeat_Outdoor'] = pd.to_numeric(df_raw['PricePerSeat_Outdoor'], errors='coerce')