docs: def tolocal(self):
          """
          Convert to local mode.
          """
          from thunder.series.readers import fromarray
  
          if self.mode == 'local':
              logging.getLogger('thunder').warn('images already in local mode')
              pass
  
          return fromarray(self.toarray(), index=self.index, labels=self.labels)