Github user mdagost commented on the pull request: https://github.com/apache/spark/pull/2636#issuecomment-59769268 @MLnick It doesn't look like `pairRDDToPython` does the trick. I tried ```{python} def userFeatures(self): juf = self._java_model.userFeatures() juf = sc._jvm.SerDeUtil.pairRDDToPython(juf, 1) return juf ``` but what comes out when I try to print the result of taking the first element of the RDD is just "[[B@176fa1a5" rather than any kind of nicely formatted python object.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org