Learn PySpark
A free, interactive PySpark course for Python programmers. Write DataFrame code, press Run to see the rows real Apache Spark returns, and earn a certificate when you finish.
18 lessons18 challenges42 quiz questionsAbout 1 hour
- Beginner friendly
AI-assisted coding help
Hands-on interactive lessons
Quizzes to test your knowledge
Free certificate of completion
Syllabus
Section 1
PySpark Fundamentals
Start sectionStartTransform DataFrames with real Apache Spark, aggregate and join data, query with SQL, and read and write CSV, JSON Lines and Parquet.Introduction
3 lessons36Transforming Data
6 lessons1115Summaries and Joins
5 lessons912Working with Files
4 lessons79
Learn by Doing
Write real code, query databases, build websites, and master AI prompts. Our interactive lessons cover every skill modern developers need.
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!
January 2026
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
Double or Nothing
Day 5 of 7
Streak Freeze
2 left
You're Not Alone
Compete on global leaderboards, invite friends to earn rewards, and celebrate each other's wins. Coding is better with friends!
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.
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.
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.
Why learn PySpark with Coddy
- Every exercise runs on real Apache Spark 4 on Coddy's servers: you write PySpark, press Run, and see the rows your DataFrame returns. There is no Java, Spark or Python to install.
- Start with sessions, actions and your first DataFrame, then select columns, filter rows with
F.col, add derived columns withwithColumn, sort, and handle missing values. A recap builds a stock report. - Summarize data the way Spark does at scale: aggregate a table,
groupBya key, join two tables, and query a DataFrame with Spark SQL throughspark.sql. A recap adds up team totals. - Work with files: read CSV and JSON Lines with a schema, write Parquet, and finish with a regional revenue report. Each lesson ends with a mastery challenge to practice the same skill again.
Questions about learning PySpark
What is PySpark?
PySpark is the Python API for Apache Spark, an open-source engine that processes large datasets across many machines. You describe the work with DataFrames or SQL, and Spark plans it and runs it in parallel. This course runs Apache Spark 4 on Coddy's servers.
What is the difference between PySpark and pandas?
show or collect to run the whole plan. The DataFrame ideas are close, so pandas skills carry over, and PySpark adds the scale.Do I need to know Python before learning PySpark?
Do I need to install Spark or Java?
No. Your code runs on Apache Spark on Coddy's servers, in a fresh workspace every run. The course is on the website, on a computer or a phone, and not in the Coddy mobile apps. To run Spark on your own data later, install PySpark or use a cloud platform: everything you learn here carries over.
How are the exercises checked?
Each check gives your code the lesson's data as a DataFrame or a file, runs it on Spark, and compares the rows you return with the expected ones. A lesson passes when your result is right, however you wrote it.
Does the course teach Spark clusters, streaming or machine learning?
Not yet. The course covers DataFrames, Spark SQL and data files on a single machine. Running a cluster, Structured Streaming, MLlib and the pandas API on Spark are not covered.
Is the PySpark course free?
Yes. The lessons, the hints and the certificate are free. A free account works through a few lessons a day, and Pro removes the daily limit.
Do I get a certificate for the PySpark course?
Yes. When you finish the course you get a free certificate of completion, with its own page you can share or add to LinkedIn.