pandas as float code example Example: string to float python pandas df['DataFrame Column'] = df['DataFrame Column'].astype(float)