diff options
author | zero323 <zero323@users.noreply.github.com> | 2017-02-13 09:26:49 -0800 |
---|---|---|
committer | Holden Karau <holden@us.ibm.com> | 2017-02-13 09:26:49 -0800 |
commit | 5e7cd3322b04f1dd207829b70546bc7ffdd63363 (patch) | |
tree | 8cf5c7a1ca6382c072abfbfe8c4fbeaad0adea5f /python/pyspark/ml/util.py | |
parent | 4321ff9edda4961273ac4a5b02dc1aed03f05e47 (diff) | |
download | spark-5e7cd3322b04f1dd207829b70546bc7ffdd63363.tar.gz spark-5e7cd3322b04f1dd207829b70546bc7ffdd63363.tar.bz2 spark-5e7cd3322b04f1dd207829b70546bc7ffdd63363.zip |
[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 <zero323@users.noreply.github.com>
Closes #16846 from zero323/SPARK-19506.
Diffstat (limited to 'python/pyspark/ml/util.py')
-rw-r--r-- | python/pyspark/ml/util.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/pyspark/ml/util.py b/python/pyspark/ml/util.py index c65b3d14be..02016f172a 100644 --- a/python/pyspark/ml/util.py +++ b/python/pyspark/ml/util.py @@ -17,6 +17,7 @@ import sys import uuid +import warnings if sys.version > '3': basestring = str |