Heart failure dataset

The data was collected from 299 patients (105 women and 194 men) who were admitted to Institute of Cardiology and Allied hospital Faisalabad-Pakistan in 2015. All the patients have left ventricular systolic dysfunction and belong to the New York Heart Association (NYHA) class III and IV. The average follow-up time was 130 days.

The dataset can be downloaded from the Kaggle website.

Data items

age: Age of the patient
anaemia: Whether the patient had anaemia or not determined by the haematocrit level.
creatinine_phosphokinase: The level of the creatinine phosphokinase (CPK) enzyme in the blood.
diabetes: Whether the patient had diabetes.
ejection_fraction: The proportion of blood pumped out of the heart during a single contraction, given as a percentage.
high_blood_pressure: Whether the patient had high blood pressure, though the definition of high blood pressure is not clear in this dataset.
platelets: The number of platelets in the blood.
serum_creatinine: The level of creatinine in the blood.
serum_sodium: The level of sodium in the blood.
sex: Whether the patient is male (1) or female (0).
smoking: Whether the patient had a smoking habbit.
time: The follow-up period in days.
DEATH_EVENT: Whether the patient was died during the follow-up period.

import pandas as pd

df = pd.read_csv('heart_failure_clinical_records_dataset.csv')
df.head()
ageanaemiacreatinine_phosphokinasediabetesejection_fractionhigh_blood_pressureplateletsserum_creatinineserum_sodiumsexsmokingtimeDEATH_EVENT
075.005820201265000.001.91301041
155.0078610380263358.031.11361061
265.001460200162000.001.31291171
350.011110200210000.001.91371071
465.011601200327000.002.71160081

References

Comments

Copied title and URL