@staticmethod
def check_no_discrete(n_vals):
    """
        Raise an exception if there are any discrete attributes.

        Args:
            n_vals (list of int): number of attributes values, 0 for continuous
        """
    if any(n_vals):
        raise ValueError('columns with discrete values are incommensurable')
