PySpark tutorial

hands-on · runs in your browser loading engine…
Demos
GitHub

Learn PySpark by running it

A hands-on PySpark DataFrame tour from session and columns through joins, grouping, window analytics, CTEs, and real reports.

Every example below has a Run button. There's no server and nothing to install: Python in Pyodide plus the real spark-rust engine (the same one that passes 90.84% of Apache Spark's SQL suite) is compiled to WebAssembly and runs each query inside this tab. Edit any query and re-run it — the data and the engine are all local.

… UDFs … examples 100% in-browser PySpark API ⌘/Ctrl + Enter to run