python transfer data to number in dataframe code example Example: make string numeric pandas df['DataFrame Column'] = df['DataFrame Column'].astype(int)