def str2fl(x):
def helper_to_fl(s_):<EOL><INDENT>"""<STR_LIT>"""<EOL>if s_ == "<STR_LIT>":<EOL><INDENT>return "<STR_LIT:null>"<EOL><DEDENT>elif "<STR_LIT:U+002C>" in s_:<EOL><INDENT>s_ = s_.replace("<STR_LIT:U+002C>", "<STR_LIT>")<EOL><DEDENT>try:<EOL><INDENT>return float(s_)<EOL><DEDENT>except:<EOL><INDENT>return (s_)<EOL><DEDENT><DEDENT>fl_lst = []<EOL>if isinstance(x[<NUM_LIT:0>], str):                <EOL><INDENT>for xi in range(len(x)):<EOL><INDENT>fl_lst.append(helper_to_fl(x[xi]))<EOL><DEDENT><DEDENT>elif isinstance(x[<NUM_LIT:0>], list):                    <EOL><INDENT>for xi in range(len(x)):<EOL><INDENT>fl_lst.append(str2fl(x[xi]))<EOL><DEDENT><DEDENT>else:<EOL><INDENT>return False<EOL><DEDENT>return fl_lst<EOL>
Recurses through lists and converts lists of string to float

    Args:
        x: string or list of strings