Python for Data Science: Laboratory Programs in Python : Foundations of Data Science : Graphs and Plotting
• Exploratory data analysis is a power technique to explore and analyse data. It is a technique that data professionals can use understand a dataset before they start to model it.
• Definition: Exploratory data analysis is a process of exploring, summarizing, visualizing, and discovering patterns or relationships in data to get more insight for data.
• Exploratory data analysis can be done in two main ways ‒
1.Graphical or Visual techniques : Using charts and plots the data exploration is done.
2. Non‒graphical techniques: Using statistical methods and summaries the data exploration and analysis is done.
• Visual aids are essential tools in Exploratory Data Analysis (EDA) to help understand, summarize and present data in a clear and meaningful way. Here are some common visual aids used in EDA:
1. Line chart: A line chart shows data points connected by lines. It's great for visualizing trends over time. It shows increase or decrease in the data. For example ‒ Tracking monthly sales of a product throughout the year.

2.Scatter plot : A scatter plot uses dots to represent the relationship between two variables. It helps to identify correlations.

3. Area plot and stacked plot : An area plot is like a line chart but with the area below the line filled in. A stacked plot shows multiple datasets on top of each other. Example (Area Plot): Showing website traffic over a week.

• Example (Stacked plot) : Showing contributions from different sources to total sales.

4. Polar chart: A polar chart (or radar chart) displays multivariate data in a circular format. It's good for comparing multiple categories. For example Comparing skills of employees.

• Non‒graphical methods use numbers and statistics to describe data instead of plots and graphs. It can be done using central tendency, spread and shape of data distribution.
• It is used to locate where the data is centered, that means it try to find the middle values. Central tendencies give us an idea of the average or most common values in our data.
• There are three commonly used measures for central tendency
1) Mean 2) Median and 3) Mode
• Let us discuss them one by one with the help of examples
1) Mean : The mean can be defined as sum of all the values divided by total number of values. The formula for mean is
Mean = ∑X / N
For example ‒
Consider the data as 10,20,30,40,50,60,70,80,90,100.
Mean = (10+20+30+40+50+60+70+80+90+100)/10=55
2) Median : It is basically the middle value when the data is arranged.
For example ‒
Consider odd number of elements
5, 10, 15, 20, 25, 30, 35
the median is 20
Consider even number of elements
5, 10, 15, 20
the median is
(10+ 15) / 2 = 12.5
3) Mode: The mode is the value that occurs frequently in the dataset. If each element appears only once in the dataset then there is no mode.
For example ‒ 1, 2, 3, 5, 5, 5, 6 here the mode is 5
• Dispersion is a technique to describe how spread out the data is. In other words, the dispersion measures show how much the data varies.
• Following are types of summaries of spread
1) Range: It is the difference between largest and smallest values or difference between max and min value. For example ‒
Consider 10,20,30,40,50 are the data points then range = max ‒ min = 50–10 = 40
2) Variance: It represents how far each value is from the mean. The formula is –

For example ‒ If data is 5, 10, 15 mean 10
Variance = [ (5 − 10)2 + (10 − 10)2 + (15 – 10)2 ] / 3
= [25+0+25] / 3
= 16.67
3) Standard deviation: It is square root of variance. The formula used is ‒
σ = √ Variance
If variance is 16.67 then standard deviation is = √16.67 = 4.08
• Frequency table shows how often values often. For example ‒ following is a frequency table for data analysis, that represents the relationship between two variables –

Python for Data Science: Laboratory Programs in Python : Tag: Computer Programming, Python, Data Science : Laboratory Programs in Python - Graphs and Plotting
Computer Programming Python Laboratory
CS25C02 1st Semester practical Laboratory Manual | 2025 Regulation | 1st Semester Laboratory 2025 Regulation
Python for Data Science
AD25201 2nd Semester AIDS Dept, 4th Semester CSE, CSE(CY) Departments | 2025 Regulation | 2nd, 4th Semester 2025 Regulation
Python for Data Science - Laboratory
AD25201 2nd Semester AIDS Dept | 2025 Regulation | 2nd Semester 2025 Regulation
Foundations of Data Science using Python
IT25201 2nd Semester IT Dept | 2025 Regulation | 2nd Semester 2025 Regulation
English Essentials I
EN25C01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
தமிழர் மரபு - Heritage of Tamils
UC25H01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Applied Calculus
MA25C01 Maths 1 M1 - 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Applied Physics I
PH25C01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Applied Chemistry I
CY25C01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Makerspace
ME25C04 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Computer Programming C
CS25C01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Computer Programming Python
CS25C02 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Fundamentals of Electrical and Electronics Engineering
EE25C03 1st Semester EEE Depart | 2025 Regulation | 1st Semester 2025 Regulation
Introduction to Mechanical Engineering
ME25C03 1st Semester Mechanical Dept | 2025 Regulation | 1st Semester 2025 Regulation
Introduction to Civil Engineering
CE25C01 1st Semester Civil, Agri Departments | 2025 Regulation | 1st Semester 2025 Regulation
Essentials of Computing
CS25C03 1st Semester - AIDS, CSE, CSE(CY), IT Department | 2025 Regulation | 1st Semester 2025 Regulation
Applied Physics I Laboratory
PH25C01 1st Semester practical Laboratory Manual | 2025 Regulation | 1st Semester Laboratory 2025 Regulation
Applied Chemistry I Laboratory
CY25C01 1st Semester practical Laboratory Manual | 2025 Regulation | 1st Semester Laboratory 2025 Regulation
Computer Programming C Laboratory
CS25C01 1st Semester EEE, ECE, CSE, CSE(CY), AIDS, IT practical Laboratory Manual | 2025 Regulation | 1st Semester Laboratory 2025 Regulation
Computer Programming Python Laboratory
CS25C02 1st Semester practical Laboratory Manual | 2025 Regulation | 1st Semester Laboratory 2025 Regulation
Engineering Drawing
ME25C01 EEE, Mech, Agri, EEE Depts | 2025 Regulation | 1st, 2nd Semester 2025 Regulation
Basic Electronics and Electrical Engineering
EE25C04 1st Semester ECE Dept | 2025 Regulation | 1st Semester 2025 Regulation
Essentials of Computing - Laboratory
CS25C03 1st Semester AIDS, CSE, CSE(CY), IT Depts | practical Laboratory Manual | 2025 Regulation | 1st Semester 2025 Regulation