Data Science: Tutorial, Projects & Course Syllabus
Statistics, Python, SQL, visualization and machine learning for real projects.
Who this is for
Students, analysts and career switchers
Before you start
Python 3; pandas installed in a local virtual environment.
Clean and summarise a synthetic dataset
Data cleaning must distinguish missing values from legitimate zeros.
Group-level summaries should retain the sample size so readers can interpret the average.
Set up your practice environment
Install pandas in a local virtual environment. Save as summary.py and run python3 summary.py.
import pandas as pd
rows = pd.DataFrame({
'subject':['Maths','Maths','Java','Java'],
'score':[80, None, 60, 100]
})
summary = rows.groupby('subject')['score'].agg(['count','mean'])
print(summary.to_string())
assert summary.loc['Maths','mean'] == 80
assert summary.loc['Java','mean'] == 80Expected result
Walk through the example
- Missing values are ignored by mean and count.
- A mean of 80 has different evidential strength for one observation than for many.
- The assertions test the intended missing-value policy.
Common mistake
Do not silently drop or impute missing data; report the effect on interpretation.
Try it yourself
Add one Maths score of 0. Compare the new mean with replacing the missing value by 0.
Reveal suggested solution
Adding a genuine zero gives mean 40 over two observed scores. Also replacing the missing value by zero would give 80/3, which incorrectly treats missing as observed.
Portfolio project brief
Create a small reproducible analysis of synthetic study records with data dictionary, missingness report, chart and limitations.
Acceptance criteria
- Document the missing-data policy.
- Use labelled axes and denominators.
- Keep raw and transformed data separate.
This is a project specification, not a completed downloadable project. Build and test it independently or with a mentor.
Quick self-test
Choose one answer per question, then check your score. No sign-in required.
Complete learning roadmap
These are suggested course modules, not a claim that every module has a full tutorial on this site.
- 01Python for data
- 02Statistics & probability
- 03SQL analytics
- 04Pandas & data cleaning
- 05Visualization
- 06Machine learning capstone
Learning outcomes
- Analyse real datasets
- Build dashboards and models
- Prepare project portfolio
Continue with official documentation
Original PCDS learning material. Check the official documentation for your installed software version; these guides are not vendor-endorsed courses.
Need help learning Data Science?
Choose a city and describe your learning goal in the enquiry form. Mention Data Science, your current level and whether you prefer home or online learning. Tutor availability and pricing are subject to confirmation.
Browse Data Science tutoring options in Mira Road or select a city above.
