code: def weight(self, weights):
          
          return self.apply(lambda x: np.average(x, axis=0, weights=weights))
docs: Applies weighted mean to models.
  
          Parameters
          ----------
          weights : list
  
          Returns
          -------
          np.ndarray
  
          Examples
          ----------
          >>> pipeline = ModelsPipeline(model_rf,model_lr)
          >>> pipeline.weight([0.8,0.2])