text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import seaborn as sns

data = pd.read_csv('../input/black-friday-sales-prediction/train_oSwQCTC (1)/train.csv')
data

data.shape

data.describe().T

data.isnull().sum() / data.shape[0] * 100

data.nunique()

data.Gender.value_counts()

plt.figure(figsize=(12, 8))
plt.title('Purchase Distribution')
sns.distplot(data['Purchase'], color='r')