1 of 22

EXPLORATORY DATA ANALYSIS

Davis David�Zindi Africa�davisdavid179@gmail.com�� �

2 of 22

CONTENT:

  1. Introduction to EDA
  2. Importance of EDA
  3. Data Types
  4. Python Packages for EDA
  5. List of Graphs
  6. Practical EDA

3 of 22

1.INTRODUCTION TO EDA

  • Exploratory Data Analysis refers to the critical process of performing initial investigations on data so as to discover patterns, to spot anomalies, to test hypothesis and to check assumptions with the help of summary statistics and graphical representations.
  • It is a good practice to understand the data first and try to gather as many insights from it.

4 of 22

2. IMPORTANCE OF EDA

  • Identifying the most important variables/features in your dataset.
  • Testing a hypothesis or checking assumptions related to the dataset.
  • To check the quality of data for further processing and cleaning.
  • Deliver data-driven insights to business stakeholders.
  • Verify expected relationships actually exist in the data.
  • To find unexpected structure or insights in the data.

5 of 22

6 of 22

7 of 22

8 of 22

Two Categories of Data

  • Structured Data types�Example: csv file, excel file, database file�
  • Unstructured Data types �Examples: text,Images, videos, audio,

9 of 22

Data Types

10 of 22

Structured Data Types

Categorical - This is any data that isn’t a number.

  • Ordinal -  have a set of order e.g. rating happiness on a scale of 1-10.
  • Binary - have only two values .e.g. Male or Female
  • Nominal - no set of order e.g. Countries

Numerical – Data inform of numbers

  • Continuous - numbers that don’t have a logical end to them e.g heights
  • Discrete - have a logical end to them e.g. days in the month

11 of 22

Python Packages for EDA

12 of 22

1.Bar Chart

13 of 22

2. Pie Chart

14 of 22

3.Histogram

15 of 22

4.Scatter Plot

16 of 22

5. Heatmap

17 of 22

6. Box Plot

18 of 22

7. Line Plot

19 of 22

8. Violin Plot

20 of 22

9.Bubble Plot

21 of 22

10. 3D Scatter Plot

22 of 22