Persistent Systems interview question

5. Write a code to create a data frame from scratch in Pyspark.