aboutsummaryrefslogtreecommitdiff
path: root/examples/src/main/python/ml/pca_example.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/src/main/python/ml/pca_example.py')
-rw-r--r--examples/src/main/python/ml/pca_example.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/src/main/python/ml/pca_example.py b/examples/src/main/python/ml/pca_example.py
index f1b3cdec7b..414629ff88 100644
--- a/examples/src/main/python/ml/pca_example.py
+++ b/examples/src/main/python/ml/pca_example.py
@@ -19,7 +19,7 @@ from __future__ import print_function
# $example on$
from pyspark.ml.feature import PCA
-from pyspark.mllib.linalg import Vectors
+from pyspark.ml.linalg import Vectors
# $example off$
from pyspark.sql import SparkSession