image_output_1.png
import pandas as pd

import seaborn as sns

import seaborn as sns
import matplotlib.pyplot as plt
from matplotlib import rc
import numpy as np
import pandas as pd
df = pd.read_csv('../input/BlackFriday.csv', delimiter=',')

sns.set_style('whitegrid')

g = sns.catplot(x='Purchase', y='Gender', col='Age', data=df.sort_values(by=['Age']), col_wrap=3, orient='h', height=2, aspect=3, palette='Set3', kind='violin', dodge=True, bw=0.2)