text_plain_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)

df[df['age'] >= 50]['target'].value_counts() * 100 / df.shape[0]