Code examples from the Udemy "Taming Big Data with Apache Spark and Python - Hands On!" course by Frank Kane updated to PySpark3 using Dataframes.
His course was first given using Spark2, fortunately professor Kane added some lectures about Spark3 and Dataframes. You will see here updated examples using Dataframes to help you advance your studies.
All the data files are given in the lectures and are stored locally at examples/datasets.
Once you install Java and PySpark and set the environment variables you will be good running these codes.