Update row values for a column `Season` using vectorized string operation in pandas,df['Season'].str.split('-').str[0].astype(int)