def get_index_for_position(season1, season2, pos = 'QB'):
    """
    Function that returns the index of common players for a specific position
    :param season1: The first year of season data
    :param season2: The send year of season data
    :param pos: The position to get the index for
    :return: The index with unique players
    """
    pos1 = season1[season1['FantPos'] == pos]
    pos2 = season2[season2['FantPos'] == pos]
    lab1 = pos1['Label'].tolist()
    lab2 = pos2['Label'].tolist()
    player_index = [x for x in lab1 if x in lab2]
    return player_index