<jupyter_start><jupyter_text>unification<jupyter_code>list(column_map.keys())
# column mapping
secop_1_covid = secop_1_covid.rename(columns=column_map)
# add source column
secop_1_covid['source'] = 'secop_1'
secop_2_covid['source'] = 'secop_2'
union_cols = list(column_map.values())+['source']

secop_union_covid = pd.concat([secop_2_covid, secop_1_covid])
secop_union_covid = secop_union_covid[union_cols]
secop_union_covid.columns
secop_union_covid.dtypes
secop_union
secop_union_covid.to_pickle('../data/secop_union_covid.pkl')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.12321428571428572, 'fraction_numerical': 0.014285714285714285, 'mean_word_length': 11.75, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '264691', 'license': 'MIT', 'n_tokens_mistral': 238, 'n_tokens_neox': 238, 'n_words': 23, 'path': 'notebooks/first_exploration.ipynb', 'repo_name': 'astenuz/canopy', 'size': '560'}