Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/4750#discussion_r25306691
--- Diff: python/pyspark/mllib/feature.py ---
@@ -120,6 +120,9 @@ def transform(self, vector):
"""
Applies standardization transformation on a vector.
+ Note: In Python, transform cannot currently be used within an RDD
+ transformation or action. Call transform directly on the
RDD instead.
--- End diff --
This line may be too long for Python doc. We use 72 in PySpark, the same as
in PEP8.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]