@property<EOL><INDENT>def dataframe(self):<DEDENT>
frames = []<EOL>for game in self.__iter__():<EOL><INDENT>df = game.dataframe<EOL>if df is not None:<EOL><INDENT>frames.append(df)<EOL><DEDENT><DEDENT>if frames == []:<EOL><INDENT>return None<EOL><DEDENT>return pd.concat(frames)<EOL>
Returns a pandas DataFrame where each row is a representation of the
Game class. Rows are indexed by the boxscore string.