Skip to content

Data Science Roadmap 2026: From Python Basics to Portfolio Projects

Home / Learning Resource

Start a data science roadmap with Python and SQL, then practise statistics, data cleaning and visualization before moving to machine learning. Finish with projects that explain a real question, a reproducible method and the limits of the results. Learn one stage well enough to demonstrate it before adding another tool.

This guide is for students and developers building their first data projects. It is a learning sequence, not a promise of a job or a fixed completion time. Your starting skills and weekly practice time determine the pace.

1. Learn Python through small programs

Practise variables, conditions, loops, functions, lists and dictionaries. Learn to read a file, handle invalid input and investigate an error message. Use a virtual environment for project dependencies and Git to keep a record of changes. These habits make your later notebooks easier to reproduce.

Start with a small expense tracker: read transactions, check that amounts are valid and calculate totals by category. Separate file loading from calculations so you can test each part. If programming itself is new, begin with the Python programming learning path before attempting a large machine learning project.

Checkpoint: write a function that summarizes a list of transactions and explain what happens when the list is empty. You should be able to solve this without copying an entire solution.

2. Use SQL to answer questions about tables

Learn SELECT, WHERE, GROUP BY, aggregate functions, joins and window functions. Understand primary keys, missing values and the difference between a row and a grouped result. SQL is useful even when the final analysis happens in Python because much business data begins in relational tables.

Create customers, orders and order-items tables. Calculate monthly sales and repeat customers. Before trusting a join, check whether it multiplies rows and inflates your totals. Decide whether cancelled orders should count and write down that decision.

Checkpoint: produce the same monthly total in SQL and Python. If the numbers differ, investigate filters, duplicate records, date boundaries and join keys rather than choosing whichever result looks better.

3. Learn statistics alongside practical questions

Study averages, median, spread, probability, sampling, confidence intervals and the distinction between correlation and causation. Learn enough linear algebra to understand vectors, matrices and model inputs. Add further mathematics when a project requires it rather than postponing all practice until you finish a large syllabus.

Use a delivery-time dataset to compare average and median delivery time. Ask how extreme delays affect each measure. Compare results across weekdays, but check the sample size before assuming that a small difference represents a reliable pattern.

Checkpoint: explain why a result from a small or biased sample may not generalize. Include uncertainty and possible confounders in your written conclusion.

4. Clean, explore and visualize data

Learn NumPy and pandas for numerical and tabular work. Inspect column types, missing values, duplicates, inconsistent categories and impossible values. Keep the raw data separate from cleaned outputs and document every transformation. A chart is only as useful as the data and definitions behind it.

Use Matplotlib or another plotting library to create a small number of readable charts. Label axes and units, choose a chart appropriate to the question and explain the observation in plain language. Avoid showing personal information in public notebooks or repositories.

Checkpoint: publish an analysis with a data dictionary, cleaning notes, three focused questions and a concise findings section. Another learner should be able to rerun your work using the documented setup. Explore the data analytics learning path if you want more practice before predictive modeling.

5. Build a baseline before a complex model

Begin with regression and classification. Understand the target, input features, train/test split, cross-validation and metrics. Compare a simple baseline with a learned model; for a numeric target, predicting the training-set mean can provide a useful first reference. The metric must match the practical cost of errors.

Split data before fitting preprocessing steps. Fit imputers and scalers on training data only, and use a pipeline to apply them consistently. For time-dependent predictions, respect the order of time. Keep a final test set separate from the repeated decisions you make during training.

Checkpoint: report the baseline, validation method, chosen metric and common failure cases. A high score can be misleading when target information leaks into features or when related records appear in both training and test sets. The official scikit-learn pitfalls guide explains leakage and preprocessing practices.

6. Build a portfolio that shows your reasoning

Choose two or three projects with different questions. A sales analysis can demonstrate SQL and data cleaning. A demand-prediction exercise can demonstrate time-aware evaluation. A text-classification experiment can demonstrate error analysis. Use public datasets with permission for your intended use and record their source and license.

For each project, include the problem, dataset description, setup instructions, baseline, method, results and limitations. Explain decisions such as missing-value handling and metric choice. A short, reproducible project that you understand is more useful in an interview than a copied notebook with many models.

Checkpoint: ask someone to run the repository from its README. Fix missing dependencies and unclear instructions, and be ready to explain one failed experiment and what you learned from it.

How should a beginner plan weekly practice?

Divide study time between learning a concept, applying it to a small task and reviewing mistakes. Use a weekly deliverable such as a working script, a SQL report or a reproducible notebook. Revisit earlier skills as projects become harder. Move forward when you can explain and apply the current topic, rather than measuring progress only by completed videos.

Do you need deep learning or generative AI first?

No. Begin with programming, data quality, statistics and evaluation. Add deep learning or generative AI when you have a suitable problem and can assess the outputs. If you use an AI assistant to help write code, check the logic, inspect data handling and run the work yourself. Never paste private datasets or credentials into a tool without authorization.

Where can you continue learning?

The official Python tutorial is useful once you have basic programming experience. For structured programming practice, explore Python at Forsk Coding School or browse current courses. Choose a path based on your existing skills and the projects you want to build.