You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Marco Mistroni <mm...@gmail.com> on 2016/07/28 14:13:15 UTC

Pls assist: need to create an udf that returns a LabeledPoint in pyspark

hi all
 could anyone assist?
i need to create a udf function that returns a LabeledPoint
I read that in pyspark (1.6) LabeledPoint is not supported and i have to
create
a StructType

anyone can point me in some directions?

kr
  marco