<jupyter_start><jupyter_text>Prepare Excel file<jupyter_code>import pandas as pd
df1 = pd.read_pickle('english_verified_20201104.pkl')
df2 = pd.read_pickle('english_verified_additional_20201116.pkl')
df = pd.concat([df1, df2])<jupyter_output><empty_output><jupyter_text>Save to pickle file<jupyter_code>df.to_pickle('english_verified_20201116.pkl')<jupyter_output><empty_output><jupyter_text>Add `cvr` column<jupyter_code>df['cvr'] = df.cr.round(14)<jupyter_output><empty_output><jupyter_text>Filter<jupyter_code>dff = df[['text', 'language', 'views', 'conversions', 'cvr']]<jupyter_output><empty_output><jupyter_text>Save to Excel file<jupyter_code>dff.to_excel('cvr_prediction_20201116.xlsx', index=False)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1451831750339213, 'fraction_numerical': 0.051560379918588875, 'mean_word_length': 15.772727272727273, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '5', 'dir': 'jupyter-structured-clean-dedup', 'id': '549536', 'license': 'Unlicense', 'n_tokens_mistral': 338, 'n_tokens_neox': 310, 'n_words': 28, 'path': 'jupyter_notebooks/0005_prepare_excel.ipynb', 'repo_name': 'korniichuk/phd', 'size': '737'}