docs: def dataframe(self):
          """
          Returns a pandas DataFrame containing all other class properties and
          values. The index for the DataFrame is the boxscore string.
          """
          # If both the runs scored and allowed are None, the game hasn't been
          # played yet, and the DataFrame should be None.
          if self._runs_allowed is None and self._runs_scored is None:
              return None
          fields_to_include = {
              'attendance': self.attendance,
              'boxscore_index': self.boxscore_index,
              'date': self.date,
              'datetime': self.datetime,
              'game_number_for_day': self.game_number_for_day,
              'day_or_night': self.day_or_night,
              'game': self.game,
              'game_duration': self.game_duration,
              'games_behind': self.games_behind,
              'innings': self.innings,
              'location': self.location,
              'loser': self.loser,
              'opponent_abbr': self.opponent_abbr,
              'rank': self.rank,
              'record': self.record,
              'result': self.result,
              'runs_allowed': self.runs_allowed,
              'runs_scored': self.runs_scored,
              'save': self.save,
              'streak': self.streak,
              'winner': self.winner
          }
          return pd.DataFrame([fields_to_include], index=[self._boxscore])