Re: create column with map function apply to dataframe
If I understand your question you should look at withColumn of dataframe api. df.withColumn("len", len("l")) Thanks Ankur On Fri, Apr 14, 2017 at 6:07 AM, issues solutionwrote: > Hi , > how you can create column inside map function > > > like that : > >
create column with map function apply to dataframe
Hi , how you can create column inside map function like that : df.map(lambd l : len(l) ) . but instead return rdd we create column insde data frame .