<jupyter_start><jupyter_text>${\textbf{Libraries}}$<jupyter_code>import numpy as np
import pandas as pd<jupyter_output><empty_output><jupyter_text>${\textbf{Data Import}}$<jupyter_code>df_purchase = pd.read_csv('purchase data.csv')<jupyter_output><empty_output><jupyter_text>${\textbf{Data Exploration}}$<jupyter_code>df_purchase.head()
df_purchase.isnull().sum()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.16030534351145037, 'fraction_numerical': 0.0, 'mean_word_length': 16.90909090909091, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '420808', 'license': 'Apache-2.0', 'n_tokens_mistral': 157, 'n_tokens_neox': 152, 'n_words': 13, 'path': '21 - Customer Analytics in Python/6_Purchase Data/3_Importing and Exploring Purchase Data (2:01)/Purchase Analytics Descriptive Analysis 7.3.ipynb', 'repo_name': 'olayinka04/365-data-science-courses', 'size': '393'}