Write a code using pyspark

Job ID: 35004966

Budget: $10 – $30 AUD

I just need the codes for the answer. The code as to be one using pyspark.
Please see the ocuents below.
Related categories: Python Spark Coding Programming PySpark