how to convert class pandas core series series into int code example
Example 1: python: transform as type numeirc
df['myvar'] = df['myvar'].astype(str) # Transform as character
df['myvar'] = df['myvar'].astype(float) # Transform as float
df['myvar'] = df['myvar'].astype(int) # Transform as numeric
Example 2: how to convert a pandas series from int to float in python
df['DataFrame Column'] = df['DataFrame Column'].astype(float)