<jupyter_start><jupyter_text>Compare source data to Unbounce data**Unbounce.com**  arithmetic mean: 9.7%  median conversion rate: 3.2%Based on:  - 34132 landing pages    - 186.9 million visits    - 19.2 million conversions<jupyter_code>import pandas as pd
df = pd.read_csv('data.csv')
df['cvr'] = df.cr.round(14)<jupyter_output><empty_output><jupyter_text>2000 examples, min 500 views (1154 examples)<jupyter_code>tmp = df[df.views >= 500]
mean = tmp.cvr.mean().round(4) * 100
print('{:.2f}'.format(mean))
median = tmp.cvr.median().round(4) * 100
print('{:.2f}'.format(median))<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.16474464579901152, 'fraction_numerical': 0.06919275123558484, 'mean_word_length': 5.831460674157303, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 10, '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': '584434', 'license': 'Unlicense', 'n_tokens_mistral': 267, 'n_tokens_neox': 227, 'n_words': 46, 'path': 'jupyter_notebooks/0028_compare_source_data_to_unbounce_data.ipynb', 'repo_name': 'korniichuk/phd', 'size': '607'}