Menu
CoddyTech
machine Learning iconPart of the Machine Learning JourneyNewJourney

Python Data Visualization with NumPy and pandas

Arrays with NumPy, tables with pandas and charts with matplotlib, the toolkit every machine learning project starts with. Write the code, and your chart appears in the Plots tab.

1,000+ codders enrolled

60 lessons59 challenges250 quiz questions

  • Beginner friendly
  • sparkles iconAI-assisted coding help
  • hint iconHands-on interactive lessons
  • quiz iconQuizzes to test your knowledge
  • certificate iconFree certificate of completion

Syllabus

1 sections60 lessons59 challenges250 quiz questions

This section is part of the Machine Learning Journey. The full syllabus has more sections - click any preview below to view it on the Journey page.

  1. Start sectionStartExpandCollapseThe toolkit every machine learning project starts with: NumPy arrays, matplotlib charts and pandas tables. Load real datasets, summarize them and plot what you find.

    Introduction

    4 lessons320

    NumPy Arrays

    5 lessons520

    Array Math

    6 lessons625

    Shaping Data

    4 lessons415

    Line and Scatter Plots

    6 lessons625

    Charts for Data

    5 lessons520

    pandas DataFrames

    6 lessons625

    Filtering and Sorting

    5 lessons520

    Grouping and Cleaning

    5 lessons520

    Plotting DataFrames

    5 lessons520

    Datasets for ML

    5 lessons520

    Final Challenges

    4 lessons420
  2. Section 2Statistics for ML64 lessons
  3. Section 3Supervised Learning58 lessons
  4. Section 4Unsupervised Learning51 lessons
What you get
Everything you'll use to learn to code

Learn by Doing

Write real code, query databases, build websites, and master AI prompts. Our interactive lessons cover every skill modern developers need.

playground.js
Code Editor
1const greeting = "Hello, Coddy!"
2function sayHi(name) {
3    return greeting + " " + name
4}
5
bottombar Collapse icon
Test #1test Case Success icon
Test #2test Case Success icon
Test #3test Case Failure icon
Input
"Alex"
Output
"Hello, Coddy! Alex"

Build Your Streak

Stay consistent and watch your progress grow! Track your daily coding habit, protect your streak with freeze days, and earn rewards for showing up every day.

12 days streak

Return tomorrow to keep your streak!

fire Filled icon
left icon

January 2026

right icon

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

21

22

23

24

25

26

27

28

29

30

product Double Or Nothing icon

Double or Nothing

Day 5 of 7

fire Freeze icon

Streak Freeze

2 left

Code Anywhere

Take your coding journey on the go! No setup, no downloads - just open and start coding. Available on iOS, Android and Web with 4.9 star ratings.

Python
7Streak
250Score
5Energy
Variables
journey Hex Done Base iconjourney Hex Done Shadow iconjourney Hex Done Top iconjourney Lesson Done icon
journey Path Right Done icon
journey Hex Done Base iconjourney Hex Done Shadow iconjourney Hex Done Top iconjourney Lesson Done icon
journey Path Left Done icon
journey Hex Active Base iconjourney Hex Active Shadow iconjourney Hex Active Top iconjourney Lesson Theory Challenge icon
CONTINUE
journey Path Right icon
journey Hex Locked Base iconjourney Hex Locked Shadow iconjourney Hex Locked Top iconjourney Lesson Theory Challenge icon
journey Path Left icon
journey Hex Locked Base iconjourney Hex Locked Shadow iconjourney Hex Locked Top iconjourney Lesson All icon
Journey
Goals
Leaderboard
Profile
4.9
StarStarStarStarStar
Rating

You're Not Alone

Compete on global leaderboards, invite friends to earn rewards, and celebrate each other's wins. Coding is better with friends!

Challenger League
Challenger LeagueTop 7 advance
leaderboard First icon1
avatar 1 icon
fire Filled icon
Alex7+ Days
2840
leaderboard Second icon2
avatar 2 icon
fire Filled icon
Jordan7+ Days
2650
leaderboard Third icon3
avatar 3 icon
fire Filled icon
Sam7+ Days
2420
4
avatar 4 icon
Casey
2180
5
avatar placeholder icon
fire Filled icon
Morgan7+ Days
1950
leaderboard Arrow Up iconPromotion zoneleaderboard Arrow Up icon

Every way to learn

Read, listen, test yourself, ask the AI, or look up anything you've already covered. Every lesson meets you where you are.

Intro to Variables
Audio

A variable is a named container that stores a value you can reference later in your program.

In Python, you create one by writing the name, an equals sign, then the value you want to store.

The value can change over time - reassigning the name simply points it to a new value.

1xSarah

Earn a Certificate

Earn certificates for every course you complete. Add them to your LinkedIn profile and resume to showcase your coding expertise to employers.

CoddyCertificate of Completion
This certifies thatJohn Doehas successfully completed
python iconPython Fundamentals
Verified
DateJan 2026
LinkedInAdd to LinkedIn

Why learn NumPy, pandas and matplotlib with Coddy

  • Your chart, right away. Type plt.plot(x, y), press Run and the real matplotlib figure appears in the Plots tab next to your code. Every lesson has a chart or a diagram, from an array drawn as numbered cells to a groupby sliding rows into piles.
  • NumPy the way ML uses it: arrays and shapes, slicing, math on whole arrays, statistics by axis, broadcasting, boolean masks and seeded random numbers.
  • matplotlib from the first line: line and scatter plots, labels and legends, colours and markers, bar charts, histograms, side-by-side charts with plt.subplots, and arrays shown as images.
  • pandas on real tables: reading CSV files, selecting, filtering, sorting, new columns, value_counts, groupby, missing values, and plotting straight from a DataFrame.

Frequently asked questions about NumPy, pandas and matplotlib

What is the difference between NumPy, pandas and matplotlib?

NumPy holds numbers in fast arrays and does math on all of them at once. pandas builds tables on top of NumPy, with named columns, CSV files, filtering and grouping. matplotlib draws the charts. Almost every data science or machine learning program in Python imports all three, which is why this section teaches them together.

Should I learn NumPy or pandas first?

NumPy, briefly, then pandas. A pandas column is a NumPy array with a name, so masks, math on whole columns and statistics by axis make sense once you have seen them on arrays. The section spends four chapters on NumPy, then moves to pandas with that already in hand, and draws charts all the way through.

Do I need to install anything to make charts?

No. Your code runs on Coddy with real matplotlib, and the figure it draws comes back to the Plots tab in your browser. There is no Jupyter notebook or Anaconda to set up, so a Chromebook or a work laptop without admin rights is fine.

Which charts will I learn to make?

Line charts, scatter plots, several lines with a legend, bar charts, histograms, several charts in one figure, images from arrays, charts straight from a DataFrame, one colour per group, and comparing two groups' histograms. Each one titled and labelled so it could go in a report.

Do I need to know Python before NumPy and pandas?

The basics: variables, loops, functions and lists, the Fundamentals section of the Python course. Dictionaries, import and anything else the section needs are explained in one sentence where they first appear.

How long does it take to learn NumPy, pandas and matplotlib?

This section is 60 lessons, about 10 hours at your own pace: three weeks at half an hour a day. It is the first section of the machine learning course, so when you finish, models are the next step.

Is this NumPy, pandas and matplotlib course free?

Yes. The lessons, the charts, the AI hints and the section certificate are free. A free account works through a few lessons a day, and Pro removes the daily limit.

Learning paths that include this course

This course is one step of a longer path: several courses in the order a mentor would teach them, each with its own free certificate.

Coddy programming languages illustration

Learn Data and Plots with Coddy

GET STARTED