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='line', color='red', label='sulphates', linewidth=1, alpha=0.5, grid=True, linestyle=':')
data.quality.plot(color='g', label='quality', linewidth=1, alpha=0.5, grid=True, linestyle='-.')
plt.legend(loc='upper right')
plt.title('Line Plot')
plt.show()