docstr: Clip values to fall within any global or column-wise min/max constraints
docstr_tok: ["Clip","values","to","fall","within","any","global","or","column-wise","min\/max","constraints"]
code: def clip(self, X):
      """
      Clip values to fall within any global or column-wise min/max constraints
      """
      X = np.asarray(X)
      if self.min_value is not None:
          X[X < self.min_value] = self.min_value
      if self.max_value is not None:
          X[X > self.max_value] = self.max_value
      return X
  
file_path: fancyimpute/fancyimpute/solver.py
imports: import warnings
  import numpy
  from sklearn.utils import check_array
  from .common import generate_random_column_samples
label_desc: Use image node_id 9 for calling the Solver obj's underlying member method code with example usage: obj.clip(X) and returns: X