AttributeError: ‘DataFrame’ object has no attribute ‘map’
I wanted to convert the spark data frame to add using the code below:
I wanted to convert the spark data frame to add using the code below:
I am trying to convert the Spark RDD to a DataFrame. I have seen the documentation and example where the scheme is passed to
sqlContext.CreateDataFrame(rdd,schema)
function.