text_html_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/wine-quality-dataset/WineQT.csv')

data.corr()

data.columns

data = data.drop(['Id'], axis=1)

f,ax=plt.subplots(figsize=(18,9))
sns.heatmap(data.corr(),annot=True,linewidths=5,fmt='.1f',ax=ax,linecolor='black')

data.rename(columns={'fixed acidity': 'fixed_acidity', 'volatile acidity': 'volatile_acidity', 'citric acid': 'citric_acid', 'residual sugar': 'residual_sugar', 'free sulfur dioxide': 'free_sulfur_dioxide', 'total sulfur dioxide': 'total_sulfur_dioxide'}, inplace=True)
data.columns

data.alcohol.plot(kind='hist', bins=50, figsize=(15, 15), color='red')