[ https://issues.apache.org/jira/browse/SPARK-12040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15044145#comment-15044145 ]
holdenk commented on SPARK-12040: --------------------------------- So this came out of wanting to have a matching API between Scala/Python since the toJson/fromJson methods are public. We could use the wrappers for any of the models which are implemented in Scala - but if we do any models/transformers in Python copying the vector to/from the JVM to write to JSON would be a waste. > Add toJson/fromJson to Vector/Vectors for PySpark > ------------------------------------------------- > > Key: SPARK-12040 > URL: https://issues.apache.org/jira/browse/SPARK-12040 > Project: Spark > Issue Type: Sub-task > Components: MLlib, PySpark > Reporter: Yanbo Liang > Priority: Trivial > Labels: starter > > Add toJson/fromJson to Vector/Vectors for PySpark, please refer the Scala one > SPARK-11766. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org