code: def tolocal(self):
          
          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)
docs: Convert to local mode.