code: def rename_header(self, old_name, new_name):
          
          self.hkeys[self.hkeys.index(old_name)] = new_name
          self.headers[new_name] = self.headers.pop(old_name)
          return self
docs: This will rename the header. The supplied names need to be strings.