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

    https://github.com/apache/spark/pull/21045#discussion_r194209974
  
    --- Diff: python/pyspark/sql/functions.py ---
    @@ -2394,6 +2394,23 @@ def array_repeat(col, count):
         return Column(sc._jvm.functions.array_repeat(_to_java_column(col), 
count))
     
     
    +@since(2.4)
    +def zip(*cols):
    +    """
    +    Collection function: Returns a merged array containing in the N-th 
position the
    +    N-th value of each array given.
    +
    +    :param cols: columns in input
    --- End diff --
    
    nit: columns of arrays to be merged.


---

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

Reply via email to