Hint:
DF.rdd.map{....}
MohammedFrom: Denny Lee [mailto:[email protected]] Sent: Thursday, April 2, 2015 7:10 PM To: [email protected] Subject: ArrayBuffer within a DataFrame Quick question - the output of a dataframe is in the format of: [2015-04, ArrayBuffer(A, B, C, D)] and I'd like to return it as: 2015-04, A 2015-04, B 2015-04, C 2015-04, D What's the best way to do this? Thanks in advance!
