PySpark Functions

One page per function: the syntax, runnable examples with their real output, and the errors you are most likely to hit. Every example runs in the online compiler on PySpark 3.5.5 with one click.

Looking for a step-by-step guide instead? Start with the PySpark tutorials.