conver string to digit pandas 0 and 1 code example Example: make string numeric pandas df['DataFrame Column'] = df['DataFrame Column'].astype(int)