Github user BryanCutler commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14725#discussion_r98257954
  
    --- Diff: python/pyspark/ml/wrapper.py ---
    @@ -16,6 +16,10 @@
     #
     
     from abc import ABCMeta, abstractmethod
    +import sys
    --- End diff --
    
    Oh, good catch thanks!  I wasn't using the def for `basestring` but I still 
am iterating the array/list with `xrange`.  I was thinking it would be possible 
for someone to use a large list, like when using a vocabulary.  I suppose I 
could use `enumerate` if you think that's better?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to