Emplifi interview question

made some basic transformations on given dataset using pyspark