Persistent Systems Interview Question

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