Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Big Data with Python: PySpark, Dask, RAPIDS and Databricks
New
2 students

Big Data with Python: PySpark, Dask, RAPIDS and Databricks

Spark, Dask and GPU dataframes measured against each other - and the honest answer about when you need none of them.
Created byReal Numbers
Last updated 11/2026
English

What you'll learn

  • Decide whether you actually need to scale out, and defend going home with a smaller answer - the habit this whole course is built to instil
  • Read a Spark job as a cost model: jobs, stages, tasks and the shuffles that decide what it spends
  • Diagnose skew from the four numbers that matter, and recover the same diagnosis from the event log with no browser at all
  • Choose a file format on measured evidence - Parquet is 3.39x smaller than CSV here, but snappy buys only 1.36x over uncompressed
  • Write Spark that an optimiser can help: declared schemas, expressions over closures, and plans you read before you run
  • Build an ingestion job and a complete ML pipeline on Spark, and recognise the leakage trap that makes a useless model look perfect
  • Use Dask where it fits and say honestly where it does not, including the cases where the answer is neither Dask nor Spark
  • Put a dataframe on a GPU, stage the device boundary through a pipeline, and find the crossover on your own hardware
  • Tell a device-dependent measurement from a reproducible one, and never publish the first as though it were the second

Course content

11 sections • 53 lectures • 8h 1m total length
  • Welcome, and how to use this course3:51
    Eleven sections, seven shipped data files, fifteen labs that run on a local SparkSession, and the two habits worth adopting from the first lecture rather than the fiftieth: measure before you scale, and never trust a duration you did not produce yourself.

Requirements

  • Comfortable writing Python - functions, files, and pandas at the level of a merge and a group-by
  • SQL at the level of a join and a group-by. The analytical SQL section builds from there
  • A machine that runs Python 3.10 or later and a Java runtime, which is the only real dependency Spark has
  • No cluster, no cloud account and no GPU are needed. Every lab runs on one machine, offline, and the GPU labs stop cleanly without a device
  • A Databricks account is useful for exactly one lecture, and that lecture ships a local equivalent so you are never blocked

Description

This course contains the use of artificial intelligence.
Most big data courses start by assuming you have big data. This one starts by checking, because the most valuable thing a course like this can teach you is how to recognise that you do not need it. Every figure here is measured from data that ships with the course, and fifteen labs reproduce every one of them on your own machine.

Here is the measurement the first section is built around. The course's extract is 400,000 rows in eight columns. As CSV that is 16,640,422 bytes; as Parquet, 4,914,661 - a factor of 3.39, a saving of 70 per cent. Both of those fit in memory on a laptop. So the honest conclusion in lecture 1.2 is that this is not yet a big data problem, and the cheap durable step is to convert the format and write down a trigger for revisiting the decision.

Then the mechanism, because you cannot cost what you do not understand. Spark's execution model, and the two ideas everything rests on: nothing runs until an action asks for a result, and shuffles decide what a job costs. A lab counts jobs rather than seconds - a job count is deterministic, the same for you and for me, on any machine - and watches the counter stay at zero through five transformations, then move once on an action.

Skew, measured rather than described. Partition the shipped data on the customer key and the largest of 200 partitions holds 73,472 rows against a median of 1,633: forty-five times. One key alone carries 71,871 rows where the median key carries 9. That is why 199 tasks finish and one runs on, and the course shows you how to see it in the Spark UI, how to reach the same diagnosis from the event log when you cannot open a browser, and what each of the four fixes actually costs.

Databricks, Delta and the lakehouse argument, with the mechanism rather than the marketing: Delta is a directory of Parquet plus an ordered transaction log, and that log is what buys atomic commits, time travel and concurrent writers. The lab for that section runs locally by default and only touches a real workspace when you put credentials in your environment, so nobody is blocked on an account.

Then the alternatives, treated as alternatives rather than as rivals. Dask gives you parallel pandas with no cluster - and its lab finds that the shipped Parquet is a single row group, so four workers get one unit of work and three watch, which is exactly the kind of thing you only learn by running it. RAPIDS puts dataframes on the GPU, cuML puts models there, and the section ends on the lecture most courses leave out: where the GPU loses.

Fifteen hands-on labs, and every one was run before it shipped. Each runs top to bottom with no edits, needs no cluster and no network, and exits 0 when every assertion passed, 1 on a failure and 2 when a dependency is missing - printing the exact install line. The GPU labs run every host-side check, name precisely what they could not exercise, and stop cleanly on a machine with no device.

What this course will not do. IT WILL NOT QUOTE YOU A SPEED-UP. Not a Spark job duration, not a Dask ratio, not a cuDF-versus-pandas figure. Those are properties of a machine, and a course that publishes them is telling you about a laptop somebody else owned. The labs measure them on your hardware, print them, label them as yours, and assert nothing about them. What gets asserted is what is reproducible: row counts, byte totals, partition counts, shuffle record counts and the shape of a query plan.

Who this course is for:

  • Analysts and engineers whose pandas job has got slow, who want to know whether distributing it is the answer before they commit to it
  • Data engineers who can run a Spark job and want to be able to say why it costs what it costs
  • Anyone who has been handed a cluster and a deadline and is not sure the cluster is the thing that will help
  • Practitioners evaluating Spark against Dask against a GPU, who want the trade-offs measured rather than a winner declared
  • Anyone who has read a benchmark quoting a speed-up on hardware they do not own and wondered what it was worth