<jupyter_start><jupyter_text>namedtuple<jupyter_code>User = namedtuple('User', 'name job')
user = User(name='shelley', job='ceo')
user.job
user.name.upper()
f'{user.name.capitalize()} is a {user.job.upper()}'<jupyter_output><empty_output><jupyter_text>defaultdict<jupyter_code>users = {'shelley':'ceo'}<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1897590361445783, 'fraction_numerical': 0.0, 'mean_word_length': 12.875, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '431701', 'license': 'MIT', 'n_tokens_mistral': 138, 'n_tokens_neox': 136, 'n_words': 14, 'path': 'notebooks/100d-d4-CollectionsModule.ipynb', 'repo_name': 'edluschei/100daysofcode-with-python-course', 'size': '332'}