Need help in Pyspark

Job ID: 31018770

Budget: ₹100 – ₹400 INR

I want to learn how to deal with the following kind of Data Frame.


schema:
root
|-- CustomerId: long (nullable = true)
|-- array: array (nullable = true)
| |-- element: struct (containsNull = true)
| | |-- orderid: long (nullable = true)
| | |-- amount: double (nullable = true)
| | |-- date: long (nullable = true)

example data:
CustomerID Order
1 [[1,100,01/01/2021],[2,200,06/01/2021],[3,150,03/01/2021]]
2 [[1,200,02/01/2021],[2,250,03/01/2021],[3,300,05/01/2021]]
Related categories: PySpark