text_html_output_1.png
import pandas as pd

data = pd.read_csv('../input/heart-attack-analysis-prediction-dataset/heart.csv')

data.describe().T

data.isnull().sum()

duplicate = data[data.duplicated()]

data.drop_duplicates(inplace=True)

data = data.reset_index(drop=True)

print(f'There are {data.shape[0]} records and {data.shape[1]} columns on this dataset.')