<jupyter_start><jupyter_text>Empirical Testing (Simple)  Show Equivalent (Simple)<jupyter_code>sum(arr[arr > 1e5] != [el for el in lst if el > 1e5])<jupyter_output><empty_output><jupyter_text>Timing (Simple)<jupyter_code>%timeit arr[arr > 1e5] 
%timeit [el for el in lst if el > 1e5]<jupyter_output>1.82 s ± 38.5 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)<jupyter_text>Empirical Testing (Complex)  Show Equivalent<jupyter_code>sum(arr[arr < 1e5][arr[arr < 1e5] > 1e4] != [el for el in lst if el > 1e4 and el < 1e5])<jupyter_output><empty_output><jupyter_text>Timing (Complex)<jupyter_code>%timeit arr[arr < 1e5][arr[arr < 1e5] > 1e4]
%timeit [el for el in lst if el > 1e4 and el < 1e5]<jupyter_output>2.03 s ± 56.7 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
{'fraction_non_alphanumeric': 0.1386392811296534, 'fraction_numerical': 0.05648267008985879, 'mean_word_length': 5.446280991735537, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 23, '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': '531227', 'license': 'MIT', 'n_tokens_mistral': 364, 'n_tokens_neox': 335, 'n_words': 94, 'path': 'notebooks/Python/Python_Internals/Arrays_vs_Lists.ipynb', 'repo_name': 'ashishpatel26/Data_Science_Fundamentals', 'size': '779'}