<jupyter_start><jupyter_text>Examples where objects in memory are referenced to the same location in memory.<jupyter_code>x = 5
b = x
print(hex(id(x)), hex(id(b)))
df1 = pd.DataFrame({'column1': [1, 2, 3, 4, 5], 'column2': [6, 7, 8, 9, 10]})
df2 = df1
print(hex(id(df1)), hex(id(df2)))
class testing_memory:
    pass
testing_memory.dataset = df1
print(hex(id(df1)), hex(id(testing_memory.dataset)))<jupyter_output>0x19f6c0a44a8 0x19f6c0a44a8
{'fraction_non_alphanumeric': 0.16780045351473924, 'fraction_numerical': 0.08390022675736962, 'mean_word_length': 6.892857142857143, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '427618', 'license': 'MIT-0', 'n_tokens_mistral': 207, 'n_tokens_neox': 189, 'n_words': 43, 'path': 'Python Data Tutorials/miscellaneaous/memory.ipynb', 'repo_name': 'samlexrod/sakeoflearning', 'size': '441'}