15 Days Learning Challenge
Today I learned how professional data analysts inspect datasets before cleaning, transforming, or visualizing data. Understanding the structure of data is the first step of every analytics project.
| Date | Product | Quantity | Price |
|---|---|---|---|
| 2023-12-02 | Tea | 4 | 40 |
| 2025-05-20 | Coffee | 2 | 40 |
| 2024-10-03 | Tea | 3 | 30 |
| 2022-11-01 | Coffee | 5 | 100 |
| 2026-01-05 | Tea | 10 | 100 |
import pandas as pd
sales_data = {
'date':['2023-12-02','2025-05-20','2024-10-03','2022-11-01','2026-01-05'],
'product':['tea','coffee','tea','coffee','tea'],
'quantity':[4,2,3,5,10],
'price':[40,40,30,100,100]
}
df = pd.DataFrame(sales_data)
df.info()
<class 'pandas.core.frame.DataFrame'> RangeIndex: 5 entries, 0 to 4 date 5 non-null object product 5 non-null object quantity 5 non-null int64 price 5 non-null int64
df.shape (5,4)
Index(['date','product','quantity','price'])
date object product object quantity int64 price int64
df.head(2)
df.tail(2)
Returns count, mean, std, min, max and quartiles.
df['product'].unique() df['product'].nunique()
Suppose a company sends a sales file containing 50,000 rows. Before building a Power BI dashboard or performing SQL analysis, a data analyst first checks:
This process helps identify data quality issues early and saves hours of debugging later.
✅ Understanding DataFrame structure
✅ Inspecting rows and columns
✅ Checking datatypes
✅ Using describe() for summaries
✅ Finding unique values
✅ Building the foundation for future data analysis
Content for Day 2 will be added later.
Content for Day 3 will be added later.
Content for Day 4 will be added later.
Content for Day 5 will be added later.
Content for Day 6 will be added later.
Content for Day 7 will be added later.
Content for Day 8 will be added later.
Content for Day 9 will be added later.
Content for Day 10 will be added later.
Content for Day 11 will be added later.
Content for Day 12 will be added later.
Content for Day 13 will be added later.
Content for Day 14 will be added later.
Content for Day 15 will be added later.
Visit my portfolio to explore projects, certifications, blogs, dashboards, and skills I've developed throughout my Data Analytics journey.
← Back to Home