Github user holdenk commented on a diff in the pull request:
https://github.com/apache/spark/pull/14830#discussion_r76512351
--- Diff: examples/src/main/python/ml/vector_slicer_example.py ---
@@ -20,9 +20,9 @@
# $example on$
from pyspark.ml.feature import VectorSlicer
from pyspark.ml.linalg import Vectors
-from pyspark.sql.types import Row
# $example off$
from pyspark.sql import SparkSession
+from pyspark.sql.types import Row
--- End diff --
This probably should be be included in the example (they were before), so
add an # $example on$ / # $example off$ around it.
---
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]