text_plain_output_1.png image_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

df = pd.read_csv('../input/red-wine-quality-cortez-et-al-2009/winequality-red.csv')

fig = plt.figure(figsize=(5,5))
sns.barplot(x='quality', y='volatile acidity', data=df)

figure = plt.figure(figsize=(10, 10))
correlation = df.corr()
sns.heatmap(correlation, annot=True)

df.quality.value_counts()