hyppo/discrim/_utils.py
def check_min_samples(x1):
    """Check if the number of samples is at least 3"""
    nx = x1.shape[0]

    if nx <= 10:
        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(x1):
    nx = x1.shape[0]
    if nx <= 10:
        raise ValueError("Number of samples is too low")
def check_min_samples ( x1 ) : nx = x1 . shape [ 0 ] if nx <= 10 : 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"""
x1