I have two separate csv files one with header and other with data. I read
those two files in 2 different RDDs and now I need to merge both the RDDs.

I tried various options such as union, zip, join but none worked for my
What is the best way to merge two RDDs so that the header and data are
merged into new RDD with header and data?

Hiral Mehta

Reply via email to