Professional · PY-401 · Python
Python Data Science & Analytics: turn raw numbers into answers
NumPy, pandas, cleaning messy data, grouping, joining and charts that answer business questions. Every example runs real NumPy and pandas in your browser.
- Free
- Intermediate friendly
- 23 lessons
- 115 questions
- No install needed
- 🏆 Certificate
Updated December 2026 · Python 3 · English · by Suthahar Jegatheesan
What you'll learn
- Hold and calculate on thousands of numbers at once with NumPy arrays
- Load, clean and reshape data with pandas
- Summarise data with groupby, pivot tables and joins
- Plot results clearly and pick the right chart
- Answer a real business question from a raw file, end to end
Try it right now
This is the editor you get in every lesson. Press Run.
Input one line per input() call
Press Run to see the output. Python runs in your browser. Who this course is for
Excel and report users
You build the same spreadsheet every week and want Python to do it for you.
Testers and DBAs
You already work with data and want pandas next to your SQL.
Future AI engineers
Machine learning starts with arrays and clean tables. This is that start.
Python Core graduates
You know lists, loops and functions and want a first job-ready skill.
Course curriculum
Every lesson has the same flow: a 30-second answer, then Try it (live code, visualiser and a challenge), a story, an explanation, a pro tip and a quiz.
6 modules · 23 lessons · 115 practice questions
Module 1: NumPy foundations
- NumPy arrays A NumPy array is a grid of values that all have the same type, stored side by side in memory so maths on millions of them runs fast.
- Indexing and slicing arrays NumPy arrays are indexed with square brackets like lists, but a 2-D array takes a row and a column in one pair: sales[1, 2] is row 1, column 2.
- Vectorised maths and broadcasting Vectorised maths means writing an operation once and NumPy applies it to every value: prices * qty multiplies matching pairs, and prices * 1.18 multiplies every price by 1.18.
- Filtering with boolean masks A boolean mask is an array of True and False made by a condition, such as temps > 32.
- Aggregations and axes Aggregations reduce many values to one: sum(), mean(), min(), max() and std().
Module 2: pandas basics
- pandas Series A pandas Series is a single column of values where every value has a label, called the index.
- pandas DataFrames A DataFrame is a table: rows of records and named columns, like a spreadsheet inside Python.
- Reading CSV and Excel files pd.read_csv("sales.csv") reads a CSV file into a DataFrame, using the first line as column names.
- Selecting rows and columns Use df["col"] for one column and df[["a", "b"]] for several.
- Filtering rows You filter a DataFrame by putting a condition in square brackets: orders[orders["total"] > 400] keeps only the rows where it is True.
Module 3: Cleaning messy data
- Missing values Missing values are empty cells, which pandas shows as NaN (or None for text).
- Fixing types and dates A column often loads as text (object) even when it holds numbers or dates.
- Finding and removing duplicates Duplicates are rows that appear more than once, often from exporting the same data twice or a form submitted twice.
- Cleaning text columns Text columns are cleaned with the .str accessor, which runs a string method on every value: df["name"].str.strip().str.title() removes extra spaces and fixes capitals in one line.
Module 4: Summarising and joining
- groupby: totals per group groupby splits a table into groups that share a value, runs a calculation on each group and puts the results back together.
- Pivot tables A pivot table turns long data into a grid: one row per value of one column, one column per value of another, and a summary in each cell.
- merge and join merge combines two tables by matching values in a shared column, like a SQL JOIN or an Excel VLOOKUP.
- apply and map map replaces each value in a column using a dictionary or function, such as turning "D" into "Data".
Module 5: Visualisation
- matplotlib basics matplotlib is the standard Python library for charts.
- Charts straight from pandas Every pandas Series and DataFrame has a .plot() method that draws with matplotlib for you.
- Choosing the right chart Pick the chart from the question: a line chart for change over time, a bar chart to compare groups, a histogram to see how values are spread, and a scatter plot to see if two numbers move together.
Module 6: Analysis end to end
- Exploratory analysis checklist Exploratory data analysis (EDA) is the first look at a new dataset to learn what it holds and what is wrong with it before you trust any answer.
- Lab: Sales analysis A sales analysis loads the raw export, adds the numbers you need (revenue = units × price), and answers each business question with one groupby: revenue by month, by region and by product.
How you'll learn
Five ways to learn and check yourself, all free and all in your browser.
Live code
Every example is real Python 3 you can edit and run. No install, nothing leaves your browser.
Code comes alive
Every example plays as an animation: variables are jars, loops spin, functions are machines.
Challenges
A small task at the end of every lesson. Hidden tests tell you if you got it right.
Quizzes
Five questions after each lesson, with the reason behind every answer.
Practice exam
25 random questions, 30 minutes, explained afterwards.
Recommended learning sequence
- Step 1Read the answerEach lesson opens with a 30-second answer.
- Step 2Run itRun the example, change it, break it, fix it.
- Step 3Watch itSee the code come alive, line by line.
- Step 4Prove itSolve the challenge. The tests check your code.
- Step 5Pass the quiz4 of 5 right and the lesson is complete.
- Step 6Sit the examAim for 70% or more.
- Step 7Get your certificateDownload it as PDF and add it to LinkedIn.
Python Data Analytics Professional
Earn a verifiable certificate
Finish PY-401 Python Data Science & Analytics, pass the 25-question final exam with 70% or more, and get a certificate with your name, a certificate ID anyone can verify, a PDF to download and one click to add it to LinkedIn.
- 📄 PDF and PNG download
- 🔎 Verifiable ID and link
- in Add to LinkedIn
- 🏅 Shareable badge
Frequently asked questions
Is PY-401 Python Data Science & Analytics free?
Yes. All 23 lessons, the live editor, the visualiser and the challenges, the practice exam are free. No account is needed.
How long does PY-401 take?
About 3 to 18 hours: 23 lessons of roughly 9 minutes, plus the practice exam. Twenty minutes a day finishes it in two to three weeks.
Do I need to install Python for PY-401?
No. Every lesson runs real Python 3 in your browser using Pyodide (CPython compiled to WebAssembly). Install Python from python.org later, when you build programs on your own computer.
Is the Python Data Analytics Professional an official certification?
No. PY-101, AI-601, GD-301 and the other codes here are MSDEVBUILD course codes. They are not official Microsoft or Python Software Foundation certifications. It shows you finished the path and passed its practice exam.
What comes after Python Data Science & Analytics?
Data Analytics & Dashboards (PY-410) adds SQL and dashboards, AI Data Analytics (AI-410) adds AI tools to your analysis, and Python AI & Machine Learning (AI-501) builds models on the same arrays and tables.
Ready when you are
Lesson 1 takes about ten minutes. Your progress is saved in this browser as you go.