docs: def _parse_contract_headers(self, table):
          """
          Parse the years on the contract.
  
          The years are listed as the headers on the contract. The first header
          contains 'Team' which specifies the player's current team and should
          not be included in the years.
  
          Parameters
          ----------
          table : PyQuery object
              A PyQuery object containing the contract table.
  
          Returns
          -------
          list
              Returns a list where each element is a string denoting the season,
              such as '2017-18'.
          """
          years = [i.text() for i in table('th').items()]
          years.remove('Team')
          return years