This is how my pipelined RDD looks:
[([3.0, 12.0, 8.0, 49.0, 27.0], 7968.0),
([165.0, 140.0, 348.0, 615.0, 311.0], 165.0)]
I want to convert this to a dataframe. I have tried converting the first element (in square brackets) to an RDD and the second one to an RDD and then convert them individually to dataframes. I have also tried setting a schema and converting it but it has not worked. Can anybody help?
Thanks!