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

    https://github.com/apache/spark/pull/21045#discussion_r193053405
  
    --- Diff: python/pyspark/sql/functions.py ---
    @@ -350,7 +350,7 @@ def corr(col1, col2):
     
         >>> a = range(20)
         >>> b = [2 * x for x in range(20)]
    -    >>> df = spark.createDataFrame(zip(a, b), ["a", "b"])
    +    >>> df = spark.createDataFrame(__builtin__.zip(a, b), ["a", "b"])
    --- End diff --
    
    Before the addition the tests were breaking in the same line, I thought 
that `zip` being a python built-in function was the cause


---

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

Reply via email to