(self)
return errors_df
Returns a pandas.DataFrame containing all cells that
         violate denial constraints contained in self.dataset.

        :return: pandas.DataFrame with columns:
            _tid_: entity ID
            attribute: attribute violating any denial constraint.
Returns a pandas.DataFrame containing all cells that
         violate denial constraints contained in self.dataset.
Returns a pandas . DataFrame containing all cells that violate denial constraints contained in self . dataset .
def detect_noisy_cells(self):
        """
        Returns a pandas.DataFrame containing all cells that
         violate denial constraints contained in self.dataset.

        :return: pandas.DataFrame with columns:
            _tid_: entity ID
            attribute: attribute violating any denial constraint.
        """
        # Convert  Constraints to SQL queries
        tbl = self.ds.raw_data.name
        queries = []
        attrs = []
        for c in self.constraints:
            q = self.to_sql(tbl, c)
            queries.append(q)
            attrs.append(c.components)
        # Execute Queries over the DBEngine of Dataset
        results = self.ds.engine.execute_queries(queries)

        # Generate final output
        errors = []
        for i in range(len(attrs)):
            res = results[i]
            attr_list = attrs[i]
            tmp_df = self.gen_tid_attr_output(res, attr_list)
            errors.append(tmp_df)
        errors_df = pd.concat(errors, ignore_index=True).drop_duplicates().reset_index(drop=True)
        return errors_df
def detect_noisy_cells ( self ) : # Convert  Constraints to SQL queries tbl = self . ds . raw_data . name queries = [ ] attrs = [ ] for c in self . constraints : q = self . to_sql ( tbl , c ) queries . append ( q ) attrs . append ( c . components ) # Execute Queries over the DBEngine of Dataset results = self . ds . engine . execute_queries ( queries ) # Generate final output errors = [ ] for i in range ( len ( attrs ) ) : res = results [ i ] attr_list = attrs [ i ] tmp_df = self . gen_tid_attr_output ( res , attr_list ) errors . append ( tmp_df ) errors_df = pd . concat ( errors , ignore_index = True ) . drop_duplicates ( ) . reset_index ( drop = True ) return errors_df