pandas all values to float code example
Example 1: pandas convert float to int
df['col'] = df['col'].astype(int)
Example 2: pandas object to float
df['DataFrame Column'] = df['DataFrame Column'].astype(float)
df['col'] = df['col'].astype(int)
df['DataFrame Column'] = df['DataFrame Column'].astype(float)