Case Study

Heart Failure Analysis
February 2022

Skills/Tools: Phyton (numpy, pandas, matplotlib, seaborn, plotly)


I want to know:

  • A. the main characteristic of patients with heart disease.,
  • B. the percentage of patients with heart disease in each category of the attributes, and
  • C. the prevalence of heart disease among patients of varying ages and genders.

Prepare, Process, and Analyze

We will work with Heart Failure Prediction Dataset. Eleven attributes in these dataset are age, sex, chest pain type, resting BP, cholesterol, fasting BP, resting ECG, max HR, exercise angina, old peak, and ST slope.

Citation: fedesoriano. (September 2021). Heart Failure Prediction Dataset. Retrieved [Date Retrieved] from

Please see my code on for the rest of prepare, process, and analyze step.


*As an Amazon Associate, I earn from qualifying purchases.