pandas phone number get converted to float code example
Example 1: pandas convert float to int
df['col'] = df['col'].astype(int)
Example 2: convert price to float pandas
df['DataFrame Column'] = df['DataFrame Column'].astype(float)
df['col'] = df['col'].astype(int)
df['DataFrame Column'] = df['DataFrame Column'].astype(float)