(str_i)
return i
Helper for --sample argument option in argparse
Helper for --sample argument option in argparse
Helper for -- sample argument option in argparse
def _validate_sample_size(str_i):
    """Helper for --sample argument option in argparse"""
    i = float(str_i)
    assert 0 <= i <= 1, "given sample size must be a number between [0, 1]"
    return i
def _validate_sample_size ( str_i ) : i = float ( str_i ) assert 0 <= i <= 1 , "given sample size must be a number between [0, 1]" return i