image_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

df = pd.read_csv('../input/bank-marketing/bank-full.csv')
marketing = df[['campaign', 'y']]
marketing.sample(5)

fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(8, 8))
sns.histplot(data=marketing, x='y', ax=ax1)
sns.boxplot(data=marketing, x='y', y='campaign', ax=ax2)
plt.show()