def _add_stats_data(self, teams_list, team_data_dict):
<EOL>rank = <NUM_LIT:1><EOL>for team_data in teams_list:<EOL><INDENT>abbr = utils._parse_field(PARSING_SCHEME,<EOL>team_data,<EOL>'<STR_LIT>')<EOL>try:<EOL><INDENT>team_data_dict[abbr]['<STR_LIT:data>'] += team_data<EOL><DEDENT>except KeyError:<EOL><INDENT>team_data_dict[abbr] = {'<STR_LIT:data>': team_data, '<STR_LIT>': rank}<EOL><DEDENT>rank += <NUM_LIT:1><EOL><DEDENT>return team_data_dict<EOL>
Add a team's stats row to a dictionary.

Pass table contents and a stats dictionary of all teams to accumulate
all stats for each team in a single variable.

Parameters
----------
teams_list : generator
    A generator of all row items in a given table.
team_data_dict : {str: {'data': str, 'rank': int}} dictionary
    A dictionary where every key is the team's abbreviation and every
    value is another dictionary with a 'data' key which contains the
    string version of the row data for the matched team, and a 'rank'
    key which is the rank of the team.

Returns
-------
dictionary
    An updated version of the team_data_dict with the passed table row
    information included.