docs: def to_GMQLDataset(self, local_path=None, remote_path=None):
          """ Converts the GDataframe in a GMQLDataset for later local or remote computation
  
          :return: a GMQLDataset
          """
          local = None
          remote = None
          if (local_path is None) and (remote_path is None):
              # get a temporary path
              local = TempFileManager.get_new_dataset_tmp_folder()
          if local_path is not None:
              local = local_path
          if remote_path is not None:
              remote = remote_path
          self.to_dataset_files(local, remote)
  
          if local is not None:
              return Loader.load_from_path(local_path=local)
          elif remote is not None:
              raise NotImplementedError("The remote loading is not implemented yet!")