def convert_work_rate(df):
    convert = {'High': 3, 'Medium': 2, 'Low': 1}
    work_rate = df['work_rate'].values[0].split('/')
    attack = work_rate[0]
    defense = work_rate[1]
    df['attack'] = convert[attack]
    df['defense'] = convert[defense]
    df = df.drop(columns='work_rate')
    return df
def convert_work_rate(df):
    convert = {'High': 3, 'Medium': 2, 'Low': 1}
    work_rate = df['work_rate'].values[0].split('/')
    attack = work_rate[0]
    defense = work_rate[1]
    df['attack'] = convert[attack]
    df['defense'] = convert[defense]
    df = df.drop(columns='work_rate')
    return df