def validate(self, table: pd.DataFrame, failed_only=False) -> pd.DataFrame:
series = table[self.name]<EOL>self._check_series_name(series)<EOL>validators = self.validators<EOL>results = pd.DataFrame({validator: series for validator in validators}, index=series.index)<EOL>for name, func in validators.items():<EOL><INDENT>results[name] = func(results[name])<EOL><DEDENT>results['<STR_LIT>'] = self._validate_series_dtype(series)<EOL>if self.unique:<EOL><INDENT>results['<STR_LIT>'] = v.funcs.unique(series)<EOL><DEDENT>if failed_only:<EOL><INDENT>results = find_failed_rows(results)<EOL><DEDENT>return results<EOL>
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.