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

data = pd.read_csv('../input/heart.csv', sep=',')
data = data.sort_values(by=['age'])
data['genderText'] = ['male' if 1 == each else 'female' for each in data.sex]

# corelation map
f, ax = plt.subplots(figsize=(18,18))
sns.heatmap(data.corr(),annot=True, linewidths=.5, fmt='.2f', ax=ax)

plt.hist(data.age, bins=50)
plt.xlabel('Age')
plt.ylabel('Frequency')
plt.title('histogram')
plt.show()