sdv/metadata/table.py
def _validate_data_on_constraints(self, data):
        """Make sure the given data is valid for the given constraints.

        Args:
            data (pandas.DataFrame):
                Table data.

        Returns:
            None

        Raises:
            ConstraintsNotMetError:
                If the table data is not valid for the provided constraints.
        """
        for constraint in self._constraints:
            if set(constraint.constraint_columns).issubset(data.columns.values):
                if not constraint.is_valid(data).all():
                    raise ConstraintsNotMetError('Data is not valid for the given constraints')
Make sure the given data is valid for the given constraints.

        Args:
            data (pandas.DataFrame):
                Table data.

        Returns:
            None

        Raises:
            ConstraintsNotMetError:
                If the table data is not valid for the provided constraints.
        
Make sure the given data is valid for the given constraints.
Make sure the given data is valid for the given constraints .
def _validate_data_on_constraints(self, data):
        for constraint in self._constraints:
            if set(constraint.constraint_columns).issubset(data.columns.values):
                if not constraint.is_valid(data).all():
                    raise ConstraintsNotMetError('Data is not valid for the given constraints')
def _validate_data_on_constraints ( self , data ) : for constraint in self . _constraints : if set ( constraint . constraint_columns ) . issubset ( data . columns . values ) : if not constraint . is_valid ( data ) . all ( ) : raise ConstraintsNotMetError ( 'Data is not valid for the given constraints' )
Make sure the given data is valid for the given constraints.
Make sure the given data is valid for the given constraints .
"""Make sure the given data is valid for the given constraints.

        Args:
            data (pandas.DataFrame):
                Table data.

        Returns:
            None

        Raises:
            ConstraintsNotMetError:
                If the table data is not valid for the provided constraints.
        """
None
If the table data is not valid for the provided constraints.
If the table data is not valid for the provided constraints .
ConstraintsNotMetError
self
data
None