class_docstr: Performs Winsorization 1->1*
  
  Warning: this class should not be used directly.
code: def trim(self, X):
      X_ = X.copy()
      X_ = np.where(
          X > self.winsor_lims[1, :],
          np.tile(self.winsor_lims[1, :], [X.shape[0], 1]),
          np.where(
              X < self.winsor_lims[0, :],
              np.tile(self.winsor_lims[0, :], [X.shape[0], 1]),
              X,
          ),
      )
      return X_
  
file_path: imodels/imodels/util/transforms.py
imports: import numpy
label_desc: Use image node_id 3 for calling the Winsorizer obj's underlying member method code with example usage: obj.trim(X) and returns: X_