text_plain_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

df = pd.read_csv('/kaggle/input/heart-failure-prediction/heart.csv')

df.shape

df.drop_duplicates()

continuos_f = ['Age', 'RestingBP', 'Cholesterol', 'MaxHR', 'Oldpeak']
categorical_f = ['ChestPainType', 'RestingECG', 'ST_Slope']
binaries_f = ['Sex', 'FastingBS', 'ExerciseAngina']

df.isna().all()

df[continuos_f].describe()