srowen commented on a change in pull request #23571: 
[SPARK-26640][CORE][ML][SQL][STREAMING][PYSPARK] Code cleanup from lgtm.com 
analysis
URL: https://github.com/apache/spark/pull/23571#discussion_r248651468
 
 

 ##########
 File path: python/pyspark/mllib/classification.py
 ##########
 @@ -20,12 +20,10 @@
 import warnings
 
 import numpy
-from numpy import array
 
 Review comment:
   Right, I was watching out for false positives, but missed this one. We 
should just leave in imports that doctests use, but in this case I agree it's 
easier to clarify with `numpy.array`. Was this the only one, from your PR? I'll 
look over the array import changes too.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to