code: def dataframe(self):
          
          if self._points_allowed is None and self._points_scored is None:
              return None
          fields_to_include = {
              'boxscore_index': self.boxscore_index,
              'date': self.date,
              'datetime': self.datetime,
              'game': self.game,
              'location': self.location,
              'losses': self.losses,
              'opponent_abbr': self.opponent_abbr,
              'opponent_name': self.opponent_name,
              'points_allowed': self.points_allowed,
              'points_scored': self.points_scored,
              'result': self.result,
              'streak': self.streak,
              'time': self.time,
              'wins': self.wins
          }
          return pd.DataFrame([fields_to_include], index=[self._boxscore])
docs: Returns a pandas DataFrame containing all other class properties and
          values. The index for the DataFrame is the boxscore string.