<jupyter_start><jupyter_text>check_in<jupyter_code>for (an1_, an2_) in [
    [[1, 10], range(10)],
    [range(10), [1, 10]],
    ["az", "abc"],
    [["a", "z"], "abc"],
    [[], []],
]:

    print(kwat.iterable.check_in(an1_, an2_))<jupyter_output><empty_output><jupyter_text>check<jupyter_code>for an_ in [[], (), "", {}, 1, True, None]:

    print(kwat.iterable.check(an_))<jupyter_output><empty_output><jupyter_text>flatten<jupyter_code>kwat.iterable.flatten(
    [
        (),
        [],
        set(),
        (1, [2, {3, 4}]),
        ["ab", {"cd", ("ef", None, True)}],
        {},
        "hello",
        "world",
    ]
)<jupyter_output><empty_output><jupyter_text>map_integer<jupyter_code>an_ = ["a", "b", "b", "c", None, None, np.nan, np.nan]
kwat.iterable.map_integer(an_)
kwat.iterable.map_integer(an_[::-1])<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.23591549295774647, 'fraction_numerical': 0.023474178403755867, 'mean_word_length': 3.874285714285714, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '93361', 'license': 'MIT', 'n_tokens_mistral': 378, 'n_tokens_neox': 364, 'n_words': 46, 'path': 'nb/iterable.ipynb', 'repo_name': 'KwatME/ccal', 'size': '852'}