[MINOR][3.2] Remove unused numpy
import
### What changes were proposed in this pull request? This fixed Python linter failure. ### Why are the changes needed? ``` flake8 checks failed: ./python/pyspark/ml/tests/test_tuning.py:21:1: F401 'numpy as np' imported but unused import numpy as np F401 'numpy as np' imported but unused Error: Process completed with exit code 1. ``` ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the GitHub Action Linter job. Closes #33841 from dongjoon-hyun/unused_import. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
This commit is contained in:
parent
464841224c
commit
d841679ecc
|
@ -18,7 +18,6 @@
|
||||||
import tempfile
|
import tempfile
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
import numpy as np
|
|
||||||
from pyspark.ml.feature import HashingTF, Tokenizer
|
from pyspark.ml.feature import HashingTF, Tokenizer
|
||||||
from pyspark.ml import Estimator, Pipeline, Model
|
from pyspark.ml import Estimator, Pipeline, Model
|
||||||
from pyspark.ml.classification import LogisticRegression, LogisticRegressionModel, OneVsRest
|
from pyspark.ml.classification import LogisticRegression, LogisticRegressionModel, OneVsRest
|
||||||
|
|
Loading…
Reference in a new issue