Need help with PySpark -- 2
Budget: $10 – $30 AUD
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 [[id/no.,amount,date],[id/no.,amount,date],[id/no.,amount,date]]
2 [[id/no.,amount,date],[id/no.,amount,date],[id/no.,amount,date]]
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 [[id/no.,amount,date],[id/no.,amount,date],[id/no.,amount,date]]
2 [[id/no.,amount,date],[id/no.,amount,date],[id/no.,amount,date]]
Related categories:
PySpark