@property<EOL><INDENT>def dataframe(self):<DEDENT>
if self._away_points is None and self._home_points is None:<EOL><INDENT>return None<EOL><DEDENT>fields_to_include = {<EOL>'<STR_LIT>': self.attendance,<EOL>'<STR_LIT>': self.away_first_downs,<EOL>'<STR_LIT>': self.away_fourth_down_attempts,<EOL>'<STR_LIT>': self.away_fourth_down_conversions,<EOL>'<STR_LIT>': self.away_fumbles,<EOL>'<STR_LIT>': self.away_fumbles_lost,<EOL>'<STR_LIT>': self.away_interceptions,<EOL>'<STR_LIT>': self.away_net_pass_yards,<EOL>'<STR_LIT>': self.away_pass_attempts,<EOL>'<STR_LIT>': self.away_pass_completions,<EOL>'<STR_LIT>': self.away_pass_touchdowns,<EOL>'<STR_LIT>': self.away_pass_yards,<EOL>'<STR_LIT>': self.away_penalties,<EOL>'<STR_LIT>': self.away_points,<EOL>'<STR_LIT>': self.away_rush_attempts,<EOL>'<STR_LIT>': self.away_rush_touchdowns,<EOL>'<STR_LIT>': self.away_rush_yards,<EOL>'<STR_LIT>': self.away_third_down_attempts,<EOL>'<STR_LIT>': self.away_third_down_conversions,<EOL>'<STR_LIT>': self.away_time_of_possession,<EOL>'<STR_LIT>': self.away_times_sacked,<EOL>'<STR_LIT>': self.away_total_yards,<EOL>'<STR_LIT>': self.away_turnovers,<EOL>'<STR_LIT>': self.away_yards_from_penalties,<EOL>'<STR_LIT>': self.away_yards_lost_from_sacks,<EOL>'<STR_LIT:date>': self.date,<EOL>'<STR_LIT>': self.duration,<EOL>'<STR_LIT>': self.home_first_downs,<EOL>'<STR_LIT>': self.home_fourth_down_attempts,<EOL>'<STR_LIT>': self.home_fourth_down_conversions,<EOL>'<STR_LIT>': self.home_fumbles,<EOL>'<STR_LIT>': self.home_fumbles_lost,<EOL>'<STR_LIT>': self.home_interceptions,<EOL>'<STR_LIT>': self.home_net_pass_yards,<EOL>'<STR_LIT>': self.home_pass_attempts,<EOL>'<STR_LIT>': self.home_pass_completions,<EOL>'<STR_LIT>': self.home_pass_touchdowns,<EOL>'<STR_LIT>': self.home_pass_yards,<EOL>'<STR_LIT>': self.home_penalties,<EOL>'<STR_LIT>': self.home_points,<EOL>'<STR_LIT>': self.home_rush_attempts,<EOL>'<STR_LIT>': self.home_rush_touchdowns,<EOL>'<STR_LIT>': self.home_rush_yards,<EOL>'<STR_LIT>': self.home_third_down_attempts,<EOL>'<STR_LIT>': self.home_third_down_conversions,<EOL>'<STR_LIT>': self.home_time_of_possession,<EOL>'<STR_LIT>': self.home_times_sacked,<EOL>'<STR_LIT>': self.home_total_yards,<EOL>'<STR_LIT>': self.home_turnovers,<EOL>'<STR_LIT>': self.home_yards_from_penalties,<EOL>'<STR_LIT>': self.home_yards_lost_from_sacks,<EOL>'<STR_LIT>': self.losing_abbr,<EOL>'<STR_LIT>': self.losing_name,<EOL>'<STR_LIT>': self.stadium,<EOL>'<STR_LIT:time>': self.time,<EOL>'<STR_LIT>': self.winner,<EOL>'<STR_LIT>': self.winning_abbr,<EOL>'<STR_LIT>': self.winning_name<EOL>}<EOL>return pd.DataFrame([fields_to_include], index=[self._uri])<EOL>
Returns a pandas DataFrame containing all other class properties and
values. The index for the DataFrame is the string URI that is used to
instantiate the class, such as '201802040nwe'.