Data Science & Machine Learning
77.3K subscribers
878 photos
68 files
794 links
Join this channel to learn data science, artificial intelligence and machine learning with funny quizzes, interesting projects and amazing resources for free

For collaborations: @love_data
Download Telegram
๐Ÿš€ Data Science Roadmap 2026

๐Ÿ“˜ Phase 2: Mathematics for Data Science

๐Ÿ“– Topic 6: Probability Distributions โ€” Discrete, Continuous, PMF, PDF & CDF

Welcome back! ๐Ÿ‘‹

In the previous lesson, you learned Bayes' Theorem, which helps us update probabilities when new evidence becomes available.

Now we'll learn Probability Distributions.

Probability distributions are extremely important in Data Science because they help us understand how values are distributed and how likely different outcomes are.

They are used in:

โœ… Statistical analysis

โœ… Machine Learning

โœ… Hypothesis testing

โœ… A/B testing

โœ… Forecasting

โœ… Risk analysis

โœ… Data simulation

๐Ÿ”น 1. What is a Probability Distribution?

A probability distribution describes how the probabilities of different possible outcomes are distributed.

For example, when rolling a fair die:

1 โ†’ 1/6

2 โ†’ 1/6

3 โ†’ 1/6

4 โ†’ 1/6

5 โ†’ 1/6

6 โ†’ 1/6

Every possible outcome has an associated probability.

The sum of all probabilities must equal: 1 = 100%

๐Ÿ”น 2. Two Main Types of Probability Distributions

Probability distributions can broadly be divided into:

1๏ธโƒฃ Discrete Distribution

Used when outcomes are countable.

Examples: Number of customers, Number of defective products, Number of emails, Number of heads in coin tosses

2๏ธโƒฃ Continuous Distribution

Used when values can take any value within a range.

Examples: Height, Weight, Temperature, Time, Salary

๐Ÿ”น 3. Discrete Random Variable

A discrete random variable takes countable values.

Example: Number of customers arriving at a store: 0, 1, 2, 3, 4, 5, ...

Another example: Number of defective products in a batch.

๐Ÿ”น 4. Continuous Random Variable

A continuous random variable can take infinitely many possible values within a range.

For example: someone's height could be: 170 cm, 170.1 cm, 170.15 cm, 170.157 cm...

There are infinitely many possible values.

๐Ÿ”น 5. PMF โ€” Probability Mass Function โญ

PMF stands for: Probability Mass Function

It is used for discrete random variables.

PMF tells us the probability of a specific outcome.

For example, when rolling a fair die:

P(X=3) = 1/6

Important Rule:

The probabilities of all possible outcomes must add up to 1:

โˆ‘P(X=x) = 1

๐Ÿ”น 6. PDF โ€” Probability Density Function โญ

PDF stands for: Probability Density Function

It is used for continuous random variables.

Unlike PMF, the PDF does not directly give the probability of a single exact value.

Instead, the area under the PDF curve over an interval represents probability.

For example: P(170 < Height < 180) is represented by the area under the PDF between 170 and 180.

Important Point:

For a continuous variable:

P(X=x) = 0

for any exact single value under the usual continuous probability model.

This doesn't mean the value is impossible. It means probability is assigned to intervals, not individual points.

๐Ÿ”น 7. CDF โ€” Cumulative Distribution Function โญ

CDF stands for: Cumulative Distribution Function

It tells us the probability that a random variable is less than or equal to a particular value.

Formula:

F(x) = P(X โ‰ค x)

Example: Suppose X = Test Score

Then: F(80) = P(X โ‰ค 80)
โค2
This tells us the probability that the score is 80 or less.

๐Ÿ”น 8. PMF vs PDF vs CDF

PMF: Used for Discrete data. Represents Probability of an exact outcome

PDF: Used for Continuous data. Represents Probability density

CDF: Used for Discrete & continuous. Represents Probability up to a value

A simple way to remember:

PMF โ†’ Exact probability for discrete outcomes

PDF โ†’ Density across continuous values

CDF โ†’ Cumulative probability up to a value

๐Ÿ”น 9. Example: Discrete Distribution

Suppose a machine produces defective products.

Let: X = Number of defective products

Possible values: 0, 1, 2, 3

Suppose:

P(X=0) = 0.50

P(X=1) = 0.30

P(X=2) = 0.15

P(X=3) = 0.05

Check: 0.50 + 0.30 + 0.15 + 0.05 = 1.00

Therefore, this is a valid probability distribution.

๐Ÿ”น 10. Example: Continuous Distribution

Suppose: X = Customer waiting time

Waiting time could be: 2.1 minutes, 2.15 minutes, 2.157 minutes, 2.1578 minutes...

Because there are infinitely many possible values, we treat it as a continuous random variable.

A PDF can describe how densely the waiting times are distributed.

๐Ÿ”น 11. Normal Distribution โญ

One of the most important probability distributions in Data Science is the Normal Distribution.

It is often called the bell curve because of its shape.

A normal distribution is characterized by: Mean, Standard deviation

Many natural and measurement-related variables can be approximately normally distributed under suitable conditions.

Examples: Measurement errors, Certain biological measurements, Standardized test scores

๐Ÿ”น 12. Properties of Normal Distribution

For a perfectly symmetric normal distribution: Mean = Median = Mode

The distribution is symmetric around its mean.

A common rule of thumb is the 68โ€“95โ€“99.7 rule:

Within 1 Standard Deviation: Approximately 68%

Within 2 Standard Deviations: Approximately 95%

Within 3 Standard Deviations: Approximately 99.7%

๐Ÿ”น 13. Binomial Distribution

The Binomial Distribution is a discrete probability distribution used when:

There are a fixed number of trials, Each trial has two possible outcomes, The probability of success is constant, Trials are independent.

Examples: Number of successful predictions, Number of heads in coin tosses, Number of defective products in a fixed sample

Example: 10 coin tosses. X = Number of Heads. Possible values: 0, 1, 2, ..., 10

๐Ÿ”น 14. Poisson Distribution

The Poisson Distribution is commonly used to model the number of events occurring within a fixed interval when events occur at a certain average rate under appropriate assumptions.

Examples: Number of customer calls per hour, Number of website visits per minute, Number of machine failures per month, Number of support tickets per day

๐Ÿ”น 15. Why Probability Distributions Matter in Data Science?

Probability distributions help Data Scientists:

โœ… Understand data patterns

โœ… Detect unusual observations

โœ… Model uncertainty

โœ… Perform statistical tests

โœ… Build predictive models

โœ… Simulate data

โœ… Estimate probabilities

๐Ÿ”น 16. Python Example

import numpy as np

data = np.random.normal(
loc=50,
scale=10,
size=1000
)

print(data[:5])
โค5
Here: loc = 50 represents the mean. scale = 10 represents the standard deviation.

๐Ÿ”น 17. Common Mistakes

โŒ Confusing PMF and PDF โ†’ Remember: PMF โ†’ Discrete, PDF โ†’ Continuous

โŒ Thinking PDF value is probability โ†’ For a continuous distribution, the PDF value at a point is a density, not the probability of that exact value. Probability comes from the area over an interval.

โŒ Forgetting that CDF is cumulative โ†’ CDF always represents: P(X โ‰ค x)

๐ŸŽฏ Practice Questions

1. What is the difference between a discrete and continuous random variable?

2. What is PMF used for?

3. What does a PDF represent?

4. What does CDF calculate?

5. Name three probability distributions commonly used in Data Science.

๐ŸŽฏ Key Takeaways

โœ… Probability distributions describe how probabilities are distributed across possible outcomes.

โœ… Discrete variables have countable outcomes.

โœ… Continuous variables can take infinitely many values within a range.

โœ… PMF is used for discrete random variables.

โœ… PDF is used for continuous random variables.

โœ… CDF gives the cumulative probability up to a particular value.

โœ… Normal, Binomial, and Poisson distributions are important distributions for Data Scientists.

Understanding probability distributions gives you the foundation needed for statistical inference, hypothesis testing, machine learning, and advanced Data Science.

๐Ÿ‘‰ Double Tap โค๏ธ For More
โค9
๐Ÿ’ป ๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ ๐—ฆ๐—ค๐—Ÿ ๐—ณ๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜ | ๐Ÿฑ ๐—•๐—ฒ๐˜€๐˜ ๐—ฌ๐—ผ๐˜‚๐—ง๐˜‚๐—ฏ๐—ฒ ๐—–๐—ต๐—ฎ๐—ป๐—ป๐—ฒ๐—น๐˜€ ๐Ÿš€

Want to learn SQL from scratch to advanced level without spending anything? These 5 YouTube channels offer tutorials, practical examples and problem-solving content.

๐Ÿ”ฅ Learn โ†’ Practice โ†’ Build Projects โ†’ Prepare for SQL Interviews

๐Ÿ”— ๐—˜๐—ป๐—ฟ๐—ผ๐—น๐—น ๐—™๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜๐Ÿ‘‡:- 

https://pdlink.in/4wCjU6x

๐Ÿ“Š Perfect for Students | Freshers | Data Analyst Aspirants | SQL Beginners
โค2
๐—™๐—ฅ๐—˜๐—˜ ๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ๐—ฐ๐—น๐—ฎ๐˜€๐˜€ ๐—ข๐—ป ๐—Ÿ๐—ฎ๐˜๐—ฒ๐˜€๐˜ ๐—ง๐—ฒ๐—ฐ๐—ต๐—ป๐—ผ๐—น๐—ผ๐—ด๐—ถ๐—ฒ๐˜€ ๐Ÿ˜
- AI
- Data Analytics
- Data Science
- CloudComputing
- Cyber Security
โ€‹
๐Ÿ’ซBuild a Future Ready Career in the AI Era
โ€‹
๐Ÿ’ซLearn the Skills, Hiring Trends, and Preparation Strategies That Matter
โ€‹
๐—ฅ๐—ฒ๐—ด๐—ถ๐˜€๐˜๐—ฒ๐—ฟ ๐—™๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜ ๐Ÿ‘‡:-
โ€‹
https://pdlink.in/45w4ztg
โ€‹
(Only few slots left )
โ€‹
Date & Time :- 18th August 2026 & 7PM
โค2๐Ÿ‘1
โœ… SQL for Data Science ๐Ÿ—„๏ธ๐Ÿ“Š

๐Ÿ‘‰ SQL is one of the most important skills for Data Scientists and Data Analysts.

Almost every company stores data inside databases, and SQL helps retrieve and analyze that data.

๐Ÿ”น 1. What is SQL?
SQL = Structured Query Language

๐Ÿ‘‰ Used to:
โœ” Store data
โœ” Retrieve data
โœ” Filter data
โœ” Analyze data

๐Ÿ”ฅ 2. Common Database Systems
โœ” MySQL
โœ” PostgreSQL
โœ” SQLite
โœ” Microsoft SQL Server

๐Ÿ”น 3. Basic SQL Query

โœ… SELECT Statement
Used to retrieve data from a table.

SELECT * FROM employees;

๐Ÿ‘‰ ** means all columns.

๐Ÿ”น 4. Select Specific Columns
SELECT name, salary FROM employees;

๐Ÿ”น 5. WHERE Clause โญ
Used for filtering data.

SELECT * FROM employees
WHERE salary > 50000;

๐Ÿ”น 6. ORDER BY
Sort data.

SELECT * FROM employees
ORDER BY salary DESC;

โœ” ASC โ†’ Ascending
โœ” DESC โ†’ Descending

๐Ÿ”น 7. Aggregate Functions โญ
Used for calculations.

Function: COUNT()
Purpose: Count rows

Function: SUM()
Purpose: Total

Function: AVG()
Purpose: Average

Function: MAX()
Purpose: Highest value

Function: MIN()
Purpose: Lowest value

โœ… Example
SELECT AVG(salary)
FROM employees;

๐Ÿ”น 8. GROUP BY โญ
Used to group data.
SELECT department, AVG(salary)
FROM employees
GROUP BY department;

๐Ÿ”น 9. Why SQL is Important?
โœ” Most asked interview skill
โœ” Used daily by analysts & data scientists
โœ” Essential for working with databases

๐ŸŽฏ Todayโ€™s Goal
โœ” Learn SELECT queries
โœ” Filter using WHERE
โœ” Use aggregate functions
โœ” Understand GROUP BY

๐Ÿ‘‰ SQL Resources: https://whatsapp.com/channel/0029VanC5rODzgT6TiTGoa1v ๐Ÿ—„๏ธ๐Ÿ”ฅ

๐Ÿ’ฌ Tap โค๏ธ for more!
โค5
๐Ÿ“Š ๐Ÿฑ ๐—•๐—ฒ๐˜€๐˜ ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป๐—ถ๐—ป๐—ด ๐—ฅ๐—ฒ๐˜€๐—ผ๐˜‚๐—ฟ๐—ฐ๐—ฒ๐˜€ ๐—ง๐—ผ ๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ ๐— ๐—ฆ ๐—˜๐˜…๐—ฐ๐—ฒ๐—น ๐—ณ๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜

Excel is one of the most valuable workplace skills โ€” start learning for FREE today!

โœ… Beginner Friendly
โœ… Learn at Your Own Pace
โœ… Improve Excel & Data Analysis Skills
โœ… Useful for Jobs & Interviews
โœ… Completely FREE Resources

๐Ÿ”— ๐—˜๐—ป๐—ฟ๐—ผ๐—น๐—น ๐—™๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜๐Ÿ‘‡:- 

https://pdlink.in/3UkOmoa

๐ŸŽ“ Perfect for Students | Freshers | Data Analyst Aspirants | Working Professionals
โค1
๐Ÿš€ ๐——๐—ฎ๐˜๐—ฎ ๐—”๐—ป๐—ฎ๐—น๐˜†๐˜๐—ถ๐—ฐ๐˜€ ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ ๐Ÿ“Š๐Ÿ”ฅ

๐—•๐˜‚๐—ถ๐—น๐—ฑ ๐—๐—ผ๐—ฏ-๐—ฅ๐—ฒ๐—ฎ๐—ฑ๐˜† ๐—ฆ๐—ธ๐—ถ๐—น๐—น๐˜€ & Learn the tools companies actually use and prepare for high-growth Data Analyst opportunities.

๐Ÿ’ผ 60+ Hiring Drives Every Month
๐Ÿค 500+ Hiring Partners
๐Ÿ‘จโ€๐Ÿซ 1-on-1 Expert Mentorship
๐Ÿ“ Resume & Interview Preparation
๐Ÿš€ Dedicated Placement Assistance

๐Ÿ”— ๐—•๐—ผ๐—ผ๐—ธ ๐—ฎ ๐—™๐—ฅ๐—˜๐—˜ ๐—–๐—ฎ๐—ฟ๐—ฒ๐—ฒ๐—ฟ ๐—–๐—ผ๐˜‚๐—ป๐˜€๐—ฒ๐—น๐—น๐—ถ๐—ป๐—ด๐Ÿ‘‡:-

https://pdlink.in/45vk5ph

๐ŸŽ“ Perfect for Students | Freshers | Working Professionals | Career Switchers
โค3
๐Ÿš€ ๐——๐—ฎ๐˜๐—ฎ ๐—”๐—ป๐—ฎ๐—น๐˜†๐˜๐—ถ๐—ฐ๐˜€ ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ ๐Ÿ“Š๐Ÿ”ฅ

๐—•๐˜‚๐—ถ๐—น๐—ฑ ๐—๐—ผ๐—ฏ-๐—ฅ๐—ฒ๐—ฎ๐—ฑ๐˜† ๐—ฆ๐—ธ๐—ถ๐—น๐—น๐˜€ & Learn the tools companies actually use and prepare for high-growth Data Analyst opportunities.

๐Ÿ’ผ 60+ Hiring Drives Every Month
๐Ÿค 500+ Hiring Partners
๐Ÿ‘จโ€๐Ÿซ 1-on-1 Expert Mentorship
๐Ÿ“ Resume & Interview Preparation
๐Ÿš€ Dedicated Placement Assistance

๐Ÿ”— ๐—•๐—ผ๐—ผ๐—ธ ๐—ฎ ๐—™๐—ฅ๐—˜๐—˜ ๐—–๐—ฎ๐—ฟ๐—ฒ๐—ฒ๐—ฟ ๐—–๐—ผ๐˜‚๐—ป๐˜€๐—ฒ๐—น๐—น๐—ถ๐—ป๐—ด๐Ÿ‘‡:-

https://pdlink.in/45vk5ph

๐ŸŽ“ Perfect for Students | Freshers | Working Professionals | Career Switchers
โค4
๐Ÿ“Š ๐—ช๐—ฎ๐—ป๐˜ ๐˜๐—ผ ๐—•๐—ฒ๐—ฐ๐—ผ๐—บ๐—ฒ ๐—ฎ ๐—ฃ๐—ฟ๐—ผ ๐—ถ๐—ป ๐——๐—ฎ๐˜๐—ฎ ๐—”๐—ป๐—ฎ๐—น๐˜†๐˜๐—ถ๐—ฐ๐˜€? ๐Ÿš€

Learning Excel, SQL and Power BI is only the beginning. To stand out as a Data Analyst, focus on practical experience, visibility and networking.

๐Ÿ”ฅ 4 Ways to Level Up Your Data Analytics Career:

๐Ÿ’ก Master the Skills โ†’ Build Projects โ†’ Create Your Portfolio โ†’ Get Noticed

๐Ÿ”— ๐—–๐—ต๐—ฒ๐—ฐ๐—ธ ๐˜๐—ต๐—ฒ ๐—–๐—ผ๐—บ๐—ฝ๐—น๐—ฒ๐˜๐—ฒ ๐—š๐˜‚๐—ถ๐—ฑ๐—ฒ ๐Ÿ‘‡

https://pdlink.in/4cIfLqn

๐ŸŽฏ Perfect for Students | Freshers | Data Analyst Aspirants | Career Switchers
โค2
๐ŸŽ“ ๐Ÿฐ ๐—™๐—ฅ๐—˜๐—˜ ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ฎ๐˜๐—ถ๐—ผ๐—ป๐˜€ ๐—ง๐—ผ ๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ ๐—œ๐—ป ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ ๐Ÿš€

Want to build job-ready skills and strengthen your resume? Start learning these in-demand technologies for FREE! ๐Ÿ”ฅ

๐Ÿ“Š ๐——๐—ฎ๐˜๐—ฎ ๐—”๐—ป๐—ฎ๐—น๐˜†๐˜๐—ถ๐—ฐ๐˜€ :- https://pdlink.in/4qn5q94

๐Ÿ’ซ ๐—”๐—œ & ๐— ๐—ฎ๐—ฐ๐—ต๐—ถ๐—ป๐—ฒ ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป๐—ถ๐—ป๐—ด :- https://pdlink.in/4zrkYNg

โ˜๏ธ ๐—–๐—น๐—ผ๐˜‚๐—ฑ ๐—–๐—ผ๐—บ๐—ฝ๐˜‚๐˜๐—ถ๐—ป๐—ด :- https://pdlink.in/4wzy6Ny

๐Ÿ›ก๏ธ ๐—–๐˜†๐—ฏ๐—ฒ๐—ฟ ๐—ฆ๐—ฒ๐—ฐ๐˜‚๐—ฟ๐—ถ๐˜๐˜† :- https://pdlink.in/4xMJNl5

๐Ÿ” ๐—ฆ๐—ต๐—ฎ๐—ฟ๐—ฒ this with your friends and classmates!
โค4๐Ÿ”ฅ1
๐——๐—ฎ๐˜๐—ฎ ๐—ฆ๐—ฐ๐—ถ๐—ฒ๐—ป๐—ฐ๐—ฒ ๐—™๐—ฅ๐—˜๐—˜ ๐—ข๐—ป๐—น๐—ถ๐—ป๐—ฒ ๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ๐—ฐ๐—น๐—ฎ๐˜€๐˜€ ๐Ÿ˜

๐Ÿ’ซKickstart Your Data Science Career

๐Ÿ’ซJoin this Masterclass for an expert-led session on Data Science

Eligibility :- Students ,Freshers & Working Professionals

๐—ฅ๐—ฒ๐—ด๐—ถ๐˜€๐˜๐—ฒ๐—ฟ ๐—™๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜ ๐Ÿ‘‡:-

https://pdlink.in/4xOh5jA

(Only few slots left )

Date & Time :- 21st August 2026 & 7PM
โค1
๐Ÿš€ Data Science Roadmap 2026

๐Ÿ“˜ Phase 2: Mathematics for Data Science

๐Ÿ“– Topic 7: Descriptive Statistics โ€” Range, Percentiles, Quartiles, IQR & Five-Number Summary

Welcome back! ๐Ÿ‘‹

In the previous lesson you covered Probability Distributions.

Now weโ€™re moving to Descriptive Statistics โ€” how we summarize data without predicting the population.

Today weโ€™ll cover: Range, Percentiles, Quartiles, IQR, Five-number summary, Outlier detection

These are core for EDA.

๐Ÿ”น 1. What is Descriptive Statistics?

Summarizes key characteristics of a dataset.

Example: Salaries: 30000, 35000, 40000, 45000, 50000

Instead of checking each value, use: Min, Max, Mean, Median, Quartiles, Percentiles, Std Dev

๐Ÿ”น 2. Range

Formula:

Range = Maximum โˆ’ Minimum

Example: 10, 20, 30, 40, 50 โ†’ Range = 50 โˆ’ 10 = 40

Note: Very sensitive to outliers. 50 โ†’ 500 makes range jump to 490.

๐Ÿ”น 3. Percentiles โญ

Value below which X% of observations fall.

50th Percentile = Median

25th Percentile = 25% at or below

90th Percentile = 90% at or below

๐Ÿ”น 4. Real-World Example

90th percentile score โ‰  90% marks. It means you did better than โˆผ90% of people.

๐Ÿ”น 5. Quartiles

Divide data into 4 equal parts:

Q1 = 25th percentile

Q2 = 50th percentile = Median

Q3 = 75th percentile

๐Ÿ”น 6. Visualizing Quartiles

0% ---- Q1 ---- Q2 ---- Q3 ---- 100%

25% 50% 75%

๐Ÿ”น 7. Interquartile Range (IQR) โญ

Formula: IQR = Q3 โˆ’ Q1

Example: Q1=20, Q3=60 โ†’ IQR = 40. Middle 50% spans 40 units.

๐Ÿ”น 8. Why IQR Matters

Less affected by outliers than Range.

Data: 10,20,30,40,50,1000 โ†’ Range=990 but IQR ignores the 1000.

๐Ÿ”น 9. Detecting Outliers Using IQR โญ

Lower Bound = Q1 โˆ’ 1.5 ร— IQR

Upper Bound = Q3 + 1.5 ร— IQR

Values outside = potential outliers

๐Ÿ”น 10. Outlier Example

Q1=20, Q3=60 โ†’ IQR=40

Lower = 20-60 = -40

Upper = 60+60 = 120

So < -40 or > 120 are outliers

๐Ÿ”น 11. Five-Number Summary โญ

1. Minimum 2. Q1 3. Median 4. Q3 5. Maximum

Ex: 10, 20, 30, 40, 50

๐Ÿ”น 12. Box Plot

Visualizes the 5-number summary.

Box = Q1 to Q3. Line inside = Median. Whiskers = range without outliers.

๐Ÿ”น 13. Python Example

import numpy as np

data = [10, 20, 30, 40, 50, 60, 70]
q1 = np.percentile(data, 25)
median = np.percentile(data, 50)
q3 = np.percentile(data, 75)
iqr = q3 - q1
print("Q1:", q1, "Median:", median, "Q3:", q3, "IQR:", iqr)


๐Ÿ”น 14. Descriptive Statistics in Pandas

import pandas as pd

df = pd.DataFrame({"Salary": [30000, 35000, 40000, 45000, 50000]})
print(df["Salary"].describe())


describe() gives Count, Mean, Std, Min, 25%, 50%, 75%, Max

๐Ÿ”น 15. Real-World Example

Transactions: Q1=โ‚น500, Median=โ‚น1000, Q3=โ‚น2000 โ†’ IQR=โ‚น1500

Use IQR to flag fraud, bulk orders, errors, or VIP customers. Investigate before deleting.

๐Ÿ”น 16. Range vs IQR

Range: Easy but outlier-sensitive

IQR: Middle 50% only, robust to outliers

๐Ÿ”น 17. Percentile vs Percentage

Percentage = out of 100.

Ex: 80% marks

Percentile = relative position.

Ex: 90th percentile

๐Ÿ”น 18. Common Mistakes

โŒ 90th percentile = 90% score

โŒ Deleting all outliers blindly

โŒ Thinking IQR covers all data

๐ŸŽฏ Practice Questions

1. Range of 10, 20, 30, 40, 50 = ?

2. Median = which percentile?

3. Q1=25, Q3=75 โ†’ IQR = ?

4. Upper outlier boundary formula?

5. 5 components of five-number summary?

๐ŸŽฏ Key Takeaways

โœ… Range = Max - Min

โœ… Q1=25th, Q2=50th=Median, Q3=75th

โœ… IQR = Q3 - Q1

โœ… 5-number summary = Min, Q1, Median, Q3, Max

โœ… Percentile โ‰  Percentage

๐Ÿ‘‰ Double Tap โค๏ธ For More
โค5๐Ÿ‘1
๐—ช๐—ข๐—ฅ๐—ž ๐—™๐—ฅ๐—ข๐—  ๐—›๐—ข๐— ๐—˜ ๐—๐—ข๐—• ๐—ข๐—ฃ๐—ฃ๐—ข๐—ฅ๐—ง๐—จ๐—ก๐—œ๐—ง๐—ฌ ๐Ÿ˜

Company Name :- AI InsurTech Company

๐Ÿ’ผ ๐—ฅ๐—ผ๐—น๐—ฒ: Backend Developer
๐Ÿ’ฐ ๐—ฆ๐—ฎ๐—น๐—ฎ๐—ฟ๐˜†: โ‚น5 LPA
๐Ÿ  ๐—ช๐—ผ๐—ฟ๐—ธ ๐— ๐—ผ๐—ฑ๐—ฒ: Work From Home
๐Ÿ“ ๐—Ÿ๐—ผ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป: Hyderabad / Remote

๐ŸŽ“ ๐—ช๐—ต๐—ผ ๐—–๐—ฎ๐—ป ๐—”๐—ฝ๐—ฝ๐—น๐˜†?
โœ… BTech/BE graduates
โœ… Branches: CS, IT, AI, ML and Data-related streams
โœ… Graduation Years: 2025 and 2026

๐Ÿ”— ๐—”๐—ฝ๐—ฝ๐—น๐˜† ๐—ก๐—ผ๐˜„ ๐Ÿ‘‡:-

https://pdlink.in/4xIfsE4

โšก Apply early and share this opportunity with your friends!
โค3
โ˜๏ธ ๐Ÿฐ ๐—™๐—ฅ๐—˜๐—˜ ๐—š๐—ผ๐—ผ๐—ด๐—น๐—ฒ ๐—–๐—น๐—ผ๐˜‚๐—ฑ ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€ | ๐—•๐˜‚๐—ถ๐—น๐—ฑ ๐—œ๐—ป-๐——๐—ฒ๐—บ๐—ฎ๐—ป๐—ฑ ๐—–๐—น๐—ผ๐˜‚๐—ฑ ๐—ฆ๐—ธ๐—ถ๐—น๐—น๐˜€

Explore these Google Cloud learning resources covering cloud fundamentals, infrastructure, networking, security, data and AI/ML.

๐Ÿ”ฅ 4 Courses to Explore:
1๏ธโƒฃ Cloud Computing Fundamentals
2๏ธโƒฃ Infrastructure in Google Cloud
3๏ธโƒฃ Networking & Security in Google Cloud
4๏ธโƒฃ Data, ML & AI in Google Cloud

๐Ÿ”— ๐—˜๐—ป๐—ฟ๐—ผ๐—น๐—น ๐—™๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜๐Ÿ‘‡:- 

https://pdlink.in/4zrksPn

๐ŸŽฏ Perfect for Students | Freshers | Developers | Cloud & DevOps Aspirants
โค5
๐Ÿš€ ๐—”๐—œ & ๐— ๐—ฎ๐—ฐ๐—ต๐—ถ๐—ป๐—ฒ ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป๐—ถ๐—ป๐—ด ๐—™๐—ฅ๐—˜๐—˜ ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ

๐Ÿ”ฅ Upgrade your skills and prepare for exciting career opportunities in AI!

โœ… Beginner-friendly course
โœ… Learn AI & Machine Learning fundamentals
โœ… Gain practical, job-ready skills
โœ… Earn a FREE certificate
โœ… Boost your resume and LinkedIn profile
โœ… Ideal for students, freshers and professionals

๐Ÿ”— ๐—˜๐—ป๐—ฟ๐—ผ๐—น๐—น ๐—ณ๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜ ๐Ÿ‘‡:-

https://pdlink.in/4zrkYNg

โšก Limited opportunityโ€”start learning today!
โค1
Essential Excel Functions for Data Analysts ๐Ÿš€

1๏ธโƒฃ Basic Functions

SUM() โ€“ Adds a range of numbers. =SUM(A1:A10)

AVERAGE() โ€“ Calculates the average. =AVERAGE(A1:A10)

MIN() / MAX() โ€“ Finds the smallest/largest value. =MIN(A1:A10)


2๏ธโƒฃ Logical Functions

IF() โ€“ Conditional logic. =IF(A1>50, "Pass", "Fail")

IFS() โ€“ Multiple conditions. =IFS(A1>90, "A", A1>80, "B", TRUE, "C")

AND() / OR() โ€“ Checks multiple conditions. =AND(A1>50, B1<100)


3๏ธโƒฃ Text Functions

LEFT() / RIGHT() / MID() โ€“ Extract text from a string.

=LEFT(A1, 3) (First 3 characters)

=MID(A1, 3, 2) (2 characters from the 3rd position)


LEN() โ€“ Counts characters. =LEN(A1)

TRIM() โ€“ Removes extra spaces. =TRIM(A1)

UPPER() / LOWER() / PROPER() โ€“ Changes text case.


4๏ธโƒฃ Lookup Functions

VLOOKUP() โ€“ Searches for a value in a column.

=VLOOKUP(1001, A2:B10, 2, FALSE)


HLOOKUP() โ€“ Searches in a row.

XLOOKUP() โ€“ Advanced lookup replacing VLOOKUP.

=XLOOKUP(1001, A2:A10, B2:B10, "Not Found")



5๏ธโƒฃ Date & Time Functions

TODAY() โ€“ Returns the current date.

NOW() โ€“ Returns the current date and time.

YEAR(), MONTH(), DAY() โ€“ Extracts parts of a date.

DATEDIF() โ€“ Calculates the difference between two dates.


6๏ธโƒฃ Data Cleaning Functions

REMOVE DUPLICATES โ€“ Found in the "Data" tab.

CLEAN() โ€“ Removes non-printable characters.

SUBSTITUTE() โ€“ Replaces text within a string.

=SUBSTITUTE(A1, "old", "new")



7๏ธโƒฃ Advanced Functions

INDEX() & MATCH() โ€“ More flexible alternative to VLOOKUP.

TEXTJOIN() โ€“ Joins text with a delimiter.

UNIQUE() โ€“ Returns unique values from a range.

FILTER() โ€“ Filters data dynamically.

=FILTER(A2:B10, B2:B10>50)



8๏ธโƒฃ Pivot Tables & Power Query

PIVOT TABLES โ€“ Summarizes data dynamically.

GETPIVOTDATA() โ€“ Extracts data from a Pivot Table.

POWER QUERY โ€“ Automates data cleaning & transformation.


You can find Free Excel Resources here: https://t.me/excel_data

Hope it helps :)

#dataanalytics
โค8
๐Ÿš€ ๐—ช๐—ถ๐—ฝ๐—ฟ๐—ผ ๐—˜๐—น๐—ถ๐˜๐—ฒ ๐—ก๐—ง๐—› & ๐—ง๐˜‚๐—ฟ๐—ฏ๐—ผ ๐—™๐—ฅ๐—˜๐—˜ ๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฒ๐˜„ ๐—ž๐—ถ๐˜ ๐Ÿ’ป๐Ÿ”ฅ

Get access to a FREE interview preparation kit and prepare smarter for your upcoming assessment & interview rounds.

๐Ÿ“š Prepare For:-
โœ… Technical Interview Questions
โœ… Software Engineer Interview Rounds
โœ… Interview Preparation Resources

๐ŸŽฏ Perfect for Students | Freshers | Engineering Graduates | Wipro Aspirants

๐Ÿ”— ๐—š๐—ฒ๐˜ ๐—™๐—ฅ๐—˜๐—˜ ๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฒ๐˜„ ๐—ž๐—ถ๐˜ ๐Ÿ‘‡:-

https://pdlink.in/4zh9E6g

๐Ÿ”ฅ Start preparing early and improve your chances of cracking the Wipro hiring process!
โค2๐Ÿ‘1