def player_table_variable_add(df, player_id, pos, year, player_name):
    """Adds specific variables as columns in a dataframe"""
    df = df.copy()
    df['player_id'] =  player_id
    df['pos'] =  pos
    df['year'] = year
    df['player_name'] = player_name
    return df