0% found this document useful (0 votes)
23 views4 pages

Lecture-4 (Day 3) - Pandas

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views4 pages

Lecture-4 (Day 3) - Pandas

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 4

PROJECT

ON
HEART DISEASE PREDICTION
(Lecture-4)
(Pandas to access and understand the dataset)
Presented by
Dr. Debasis Mohapatra
Assistant Professor
Dept. of CSE, PMEC, Berhampur
Pandas (Basics)

 Pandas is an open-source Python library providing high-performance,


easy-to-use data structures and data analysis tools for the Python
programming language.
 Python with Pandas is used in a wide range of fields including academic
and commercial domains including finance, economics, Statistics,
analytics, etc.
About dataset

 Dataset is downloaded from UCI ML repository.


 Dataset is stored/converted into .csv format.
 It contains 1190 records/rows and 12 columns/attributes.
Attributes
Sl.no Attribute Description TYPE
4
1 Age Patient’s age (29 to 77) in years Numerical
2 Sex Gender of patient(male-1 female-0) Categorical

3 Chest Pain Chest pain type(0-typical angina,1-atypical Categorical


angina,2-non-anginal pain,3-asympotomatic)
4 resting bps Resting blood pressure(in mm Hg /values from 94 to Numerical
200)
5 Cholesterol Serum cholesterol (in mg/dl, values from 126 to 564) Numerical

6 Fbs Fasting blood sugar>120 mg/dl, true-1 false-0 ) Categorical

7 Restecg Resting electrocardiographic result (0-Normal,1- Categorical


Abnormality in ST-T wave,2-Left ventricular
hypertrophy)
8 Thalach Maximum heart rate achieved(71 to 202) Numerical
9 Exang Exercise included angina(1-yes 0-no) Categorical

10 Oldpeak ST depression introduced by exercise relative to rest Numerical


(0 to 6.2)
11 Slope The slop of the peak exercise ST segment (0- Categorical
Upsloping ,1-flat,3-Downsloping)
12 Target It is the target variable which have to predict 1 means patient Categorical
is suffering from heart risk and 0 means patient is normal.

You might also like