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