Skip to content

Commit 7730de4

Browse files
zero323cmonkey
authored andcommitted
[SPARK-19506][ML][PYTHON] Import warnings in pyspark.ml.util
## What changes were proposed in this pull request? Add missing `warnings` import. ## How was this patch tested? Manual tests. Author: zero323 <[email protected]> Closes apache#16846 from zero323/SPARK-19506.
1 parent a30c5a6 commit 7730de4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/pyspark/ml/util.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
import sys
1919
import uuid
20+
import warnings
2021

2122
if sys.version > '3':
2223
basestring = str

0 commit comments

Comments
 (0)