panda string to int code example
Example 1: make string numeric pandas
df['DataFrame Column'] = df['DataFrame Column'].astype(int)
Example 2: convert pandas series from str to int
df['DataFrame Column'] = pd.to_numeric(df['DataFrame Column'])
df['DataFrame Column'] = df['DataFrame Column'].astype(int)
df['DataFrame Column'] = pd.to_numeric(df['DataFrame Column'])