Free course · 5 lessons so far · first 2 open, free sign-in for the rest
Learn PySpark from zero to big data
Plain English, ShopKart's real order files, and PySpark code we actually ran on Spark 4, with the real output, errors included. Each lesson ends with what to memorize and interview questions.
- Install PySpark and run it locally
- Lazy evaluation and reading plans
- Schemas, bad rows, partitioned Parquet
- groupBy, every join type, broadcast joins
- Window functions and de-duplication
- Spark SQL, UDFs and pandas UDFs (timed)

Why it works
Built so it actually sticks
One real example
Two months of ShopKart order files and app events, read, cleaned, joined and ranked with PySpark.
Code we actually ran
Every example ran on PySpark 4.0.1. The outputs are exactly what Spark printed, including the errors we hit and how we fixed them.
Built for interviews
Every lesson has a 'memorize this' box and interview questions tagged from fresher to 3+ years.
The roadmap
Follow the trail, one part at a time
Each part builds on the one before. Your progress is saved in this browser, so you can pick up where you left off.
0 of 5 parts completed
Start the course- 1Part 1·11 minFree previewStart here
PySpark Tutorial for Beginners
Learn PySpark from zero: what Spark is, installing PySpark on your laptop, SparkSession, your first DataFrame, lazy evaluation, explain() and a real Spark 4 gotcha, with real outputs.
- 2Part 2·13 minFree preview
PySpark DataFrames
Read CSV and JSON with PySpark, define schemas, handle bad rows, select, filter, withColumn, nulls, nested JSON and writing partitioned Parquet, all run on Spark 4.
- 3Part 3·12 min Enroll to unlock
PySpark groupBy, Aggregations and Joins
Summarise and combine data in PySpark: groupBy with agg, every join type (inner, left, right, full, semi, anti) with real counts, and broadcast joins.
- 4Part 4·12 min Enroll to unlock
PySpark Window Functions
Master PySpark window functions: top N per group, de-duplication with row_number, lag for day-over-day change, moving averages and running totals, with real results.
- 5Part 5·11 min Enroll to unlock
Spark SQL and UDFs in PySpark
Run SQL on DataFrames with temp views, mix SQL and Python, and compare Python UDFs, pandas UDFs and built-in functions, with real timings on a million rows.
- 6Performance: partitions, shuffles, caching, AQE and skewComing soon
- 7Delta Lake with PySparkComing soon
- 8Structured StreamingComing soon
- 9Testing PySpark with pytestComing soon
- 10PySpark interview questionsComing soon
Who it's for
Made for you if…
Students and freshers
You know a little SQL and want a data engineering or analytics job.
Switching roles
You're a developer, analyst or tester moving into data engineering.
Working engineers
You use Spark already and want to fill gaps before your next interview.
FAQ
Questions students ask
Is this PySpark course free?
Yes. The first two lessons are open to everyone; sign in and enroll (also free) to read the rest.
Do I need a cluster?
No. Everything runs on your laptop with pip install pyspark and Java 17 or 21. The same code runs on Databricks, EMR, Synapse or Fabric.
What should I know first?
Basic Python. SQL helps. Our free Python and SQL courses cover both.
Start with Lesson 1: PySpark for beginners
About 59 minutes for the lessons so far. More lessons are on the way.