docs: def first(self):
          """
          Return the first element.
          """
          if self.mode == 'spark':
              return self.values.tordd().values().first()
  
          if self.mode == 'local':
              return self.values.first