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