image_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

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

import seaborn as sns

import warnings

import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
import os
plt.style.use('ggplot')
import warnings
warnings.filterwarnings('ignore')

df = pd.read_csv('../input/customer-personality-analysis/marketing_campaign.csv', sep='\t')

df.columns

people_num = ['Year_Birth', 'Income', 'Kidhome', 'Teenhome', 'Recency']

people_cat = ['Education', 'Marital_Status', 'Dt_Customer', 'Complain']

product = ['MntWines', 'MntFruits', 'MntMeatProducts', 'MntFishProducts', 'MntSweetProducts', 'MntGoldProds']

plt.tight_layout()

plt.tight_layout()

plt.tight_layout()

plt.tight_layout()

plt.tight_layout()

promotion_num = 'NumDealsPurchases'

promotion_cat = ['AcceptedCmp1', 'AcceptedCmp2', 'AcceptedCmp3', 'AcceptedCmp4', 'AcceptedCmp5', 'Response']

plt.tight_layout()

sns.countplot(data=df, x=promotion_num)