Skip to content

Commit 65abef4

Browse files
committed
fix import
1 parent 46021a6 commit 65abef4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/pyspark/ml/tests/test_functions.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import numpy as np
2020

21+
from pyspark.loose_version import LooseVersion
2122
from pyspark.ml.functions import predict_batch_udf
2223
from pyspark.sql.functions import array, struct, col
2324
from pyspark.sql.types import ArrayType, DoubleType, IntegerType, StructType, StructField, FloatType
@@ -29,8 +30,6 @@
2930
pyarrow_requirement_message,
3031
)
3132

32-
from python.pyspark.loose_version import LooseVersion
33-
3433

3534
@unittest.skipIf(
3635
not have_pandas or not have_pyarrow,

0 commit comments

Comments
 (0)