PCDS Tutors — Home • Online • Academic • Professional LearningServing 10+ launch cities • Expanding across India
Practical learning guideBeginner

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.

Practical lesson

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.

python
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'] == 80

Expected result

Java: count 2, mean 80.0; Maths: count 1, mean 80.0.

Walk through the example

  1. Missing values are ignored by mean and count.
  2. A mean of 80 has different evidential strength for one observation than for many.
  3. 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.

1. What does count on a pandas score column exclude?
2. Why include group size?

Complete learning roadmap

These are suggested course modules, not a claim that every module has a full tutorial on this site.

  1. 01Python for data
  2. 02Statistics & probability
  3. 03SQL analytics
  4. 04Pandas & data cleaning
  5. 05Visualization
  6. 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.

pandas user guide →

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.

Data Science Tutorial, Practical Project & Course Syllabus | PCDS Learning