python pandas convert series to int code example
Example 1: convert pandas series from str to int
df['DataFrame Column'] = df['DataFrame Column'].astype(int)
Example 2: how to convert a pandas series from int to float in python
df['DataFrame Column'] = df['DataFrame Column'].astype(float)