<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dataframes(self):
 """ Returns a pandas DataFrame where each row is a representation of the Team class. Rows are indexed by the team abbreviation. """

        frames = []
        for team in self.__iter__():
            frames.append(team.dataframe)
        return pd.concat(frames)