text_plain_output_1.png image_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

df = pd.read_csv('../input/heartdisease-dataset/heart.csv')

df.drop(['exang'], axis=1, inplace=True)

males = df[df['sex'] == 0]['age'].value_counts()
males