srowen commented on code in PR #37850:
URL: https://github.com/apache/spark/pull/37850#discussion_r968977663


##########
python/pyspark/sql/functions.py:
##########
@@ -5535,6 +5570,20 @@ def array_join(
 
     .. versionadded:: 2.4.0
 
+    Parameters
+    ----------
+    col : :class:`~pyspark.sql.Column` or str
+        target column to work on.
+    delimiter : str
+        delimiter to use concatanate elements

Review Comment:
   concatenate, here and below
   Also: "delimiter used to concatenate..."



##########
python/pyspark/sql/functions.py:
##########
@@ -6108,6 +6297,11 @@ def schema_of_json(json: "ColumnOrName", options: 
Optional[Dict[str, str]] = Non
         .. versionchanged:: 3.0
            It accepts `options` parameter to control schema inferring.
 
+    Returns
+    -------
+    :class:`~pyspark.sql.Column`
+        a string representatio of a :class:`StructType` parsed from given JSON.

Review Comment:
   typo in a few places: representatio -> representation



##########
python/pyspark/sql/functions.py:
##########
@@ -5797,6 +5915,11 @@ def array_except(col1: "ColumnOrName", col2: 
"ColumnOrName") -> Column:
     col2 : :class:`~pyspark.sql.Column` or str
         name of column containing array
 
+    Returns
+    -------
+    :class:`~pyspark.sql.Column`
+        an array of values from first array that is not in the second.

Review Comment:
   nit: that are not



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to