Github user mgaido91 commented on a diff in the pull request:
https://github.com/apache/spark/pull/21045#discussion_r192985589
--- Diff: python/pyspark/sql/functions.py ---
@@ -364,7 +364,7 @@ def covar_pop(col1, col2):
>>> a = [1] * 10
>>> b = [1] * 10
- >>> df = spark.createDataFrame(zip(a, b), ["a", "b"])
+ >>> df = spark.createDataFrame(__builtin__.zip(a, b), ["a", "b"])
--- End diff --
ditto
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]