code: def clip(self, min=None, max=None):
          
          return self._constructor(
              self.values.clip(min=min, max=max)).__finalize__(self)
docs: Clip values above and below.
  
          Parameters
          ----------
          min : scalar or array-like
              Minimum value. If array, will be broadcasted
  
          max : scalar or array-like
              Maximum value. If array, will be broadcasted.