code: def validate(self, table: pd.DataFrame, failed_only=False) -> pd.DataFrame:
          
          series = table[self.name]
  
          self._check_series_name(series)
  
          validators = self.validators
  
          results = pd.DataFrame({validator: series for validator in validators}, index=series.index)
  
          for name, func in validators.items():
              results[name] = func(results[name])
  
          results['dtype'] = self._validate_series_dtype(series)
  
          if self.unique:
              results['unique'] = v.funcs.unique(series)
  
          if failed_only:
              results = find_failed_rows(results)
  
          return results
docs: Return a dataframe of validation results for the appropriate series vs the vector of validators.
  
          Args:
              table (pd.DataFrame): A dataframe on which to apply validation logic.
              failed_only (bool): If ``True``: return only the indexes that failed to validate.