hyppo/independence/_utils.py
def _check_min_samples(self):
        """Check if the number of samples is at least 3"""
        nx = self.x.shape[0]
        ny = self.y.shape[0]

        if nx <= 3 or ny <= 3:
            raise ValueError("Number of samples is too low")
Check if the number of samples is at least 3
Check if the number of samples is at least 3
Check if the number of samples is at least 3
def _check_min_samples(self):
        nx = self.x.shape[0]
        ny = self.y.shape[0]
        if nx <= 3 or ny <= 3:
            raise ValueError("Number of samples is too low")
def _check_min_samples ( self ) : nx = self . x . shape [ 0 ] ny = self . y . shape [ 0 ] if nx <= 3 or ny <= 3 : raise ValueError ( "Number of samples is too low" )
Check if the number of samples is at least 3
Check if the number of samples is at least 3
"""Check if the number of samples is at least 3"""
self