python pandas string and numbers code example Example: convert pandas series from str to int df['DataFrame Column'] = pd.to_numeric(df['DataFrame Column'])