code: def shuffle_models(self, start_iteration=0, end_iteration=-1):
          
          _safe_call(_LIB.LGBM_BoosterShuffleModels(
              self.handle,
              ctypes.c_int(start_iteration),
              ctypes.c_int(end_iteration)))
          return self
docs: Shuffle models.
  
          Parameters
          ----------
          start_iteration : int, optional (default=0)
              The first iteration that will be shuffled.
          end_iteration : int, optional (default=-1)
              The last iteration that will be shuffled.
              If <= 0, means the last available iteration.
  
          Returns
          -------
          self : Booster
              Booster with shuffled models.