@property<EOL><INDENT>def dataframe(self):<DEDENT>
if self._points_scored is None and self._points_allowed is None:<EOL><INDENT>return None<EOL><DEDENT>fields_to_include = {<EOL>'<STR_LIT>': self.boxscore_index,<EOL>'<STR_LIT:date>': self.date,<EOL>'<STR_LIT>': self.datetime,<EOL>'<STR_LIT>': self.day,<EOL>'<STR_LIT>': self.extra_points_attempted,<EOL>'<STR_LIT>': self.extra_points_made,<EOL>'<STR_LIT>': self.field_goals_attempted,<EOL>'<STR_LIT>': self.field_goals_made,<EOL>'<STR_LIT>': self.fourth_down_attempts,<EOL>'<STR_LIT>': self.fourth_down_conversions,<EOL>'<STR_LIT>': self.interceptions,<EOL>'<STR_LIT:location>': self.location,<EOL>'<STR_LIT>': self.opponent_abbr,<EOL>'<STR_LIT>': self.opponent_name,<EOL>'<STR_LIT>': self.overtime,<EOL>'<STR_LIT>': self.pass_attempts,<EOL>'<STR_LIT>': self.pass_completion_rate,<EOL>'<STR_LIT>': self.pass_completions,<EOL>'<STR_LIT>': self.pass_touchdowns,<EOL>'<STR_LIT>': self.pass_yards,<EOL>'<STR_LIT>': self.pass_yards_per_attempt,<EOL>'<STR_LIT>': self.points_allowed,<EOL>'<STR_LIT>': self.points_scored,<EOL>'<STR_LIT>': self.punt_yards,<EOL>'<STR_LIT>': self.punts,<EOL>'<STR_LIT>': self.quarterback_rating,<EOL>'<STR_LIT:result>': self.result,<EOL>'<STR_LIT>': self.rush_attempts,<EOL>'<STR_LIT>': self.rush_touchdowns,<EOL>'<STR_LIT>': self.rush_yards,<EOL>'<STR_LIT>': self.rush_yards_per_attempt,<EOL>'<STR_LIT>': self.third_down_attempts,<EOL>'<STR_LIT>': self.third_down_conversions,<EOL>'<STR_LIT>': self.time_of_possession,<EOL>'<STR_LIT>': self.times_sacked,<EOL>'<STR_LIT:type>': self.type,<EOL>'<STR_LIT>': self.week,<EOL>'<STR_LIT>': self.yards_lost_from_sacks<EOL>}<EOL>return pd.DataFrame([fields_to_include], index=[self._boxscore])<EOL>
Returns a pandas DataFrame containing all other class properties and
values. The index for the DataFrame is the boxscore string.