docs: def _parse_player_data(self, player_data):
          """
          Parse all player information and set attributes.
  
          Iterate through each class attribute to parse the data from the HTML
          page and set the attribute value with the result.
  
          Parameters
          ----------
          player_data : dictionary or string
              If this class is inherited from the ``Player`` class, player_data
              will be a dictionary where each key is a string representing the
              season and each value contains the HTML data as a string. If this
              class is inherited from the ``BoxscorePlayer`` class, player_data
              will be a string representing the player's game statistics in HTML
              format.
          """
          for field in self.__dict__:
              short_field = str(field)[1:]
              if short_field == 'player_id' or \
                 short_field == 'index' or \
                 short_field == 'most_recent_season' or \
                 short_field == 'name' or \
                 short_field == 'weight' or \
                 short_field == 'height' or \
                 short_field == 'season':
                  continue
              field_stats = []
              if type(player_data) == dict:
                  for year, data in player_data.items():
                      stats = pq(data['data'])
                      value = self._parse_value(stats, short_field)
                      field_stats.append(value)
              else:
                  stats = pq(player_data)
                  value = self._parse_value(stats, short_field)
                  field_stats.append(value)
              setattr(self, field, field_stats)