You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/12/15 19:52:06 UTC

[GitHub] [spark] srowen commented on a diff in pull request #39020: [MINOR][CORE][PYTHON][SQL][PS] Fix some typos

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


##########
python/pyspark/pandas/frame.py:
##########
@@ -1292,7 +1292,7 @@ def applymap(self, func: Callable[[Any], Any]) -> "DataFrame":
         0   1.000000   4.494400
         1  11.262736  20.857489
 
-        You can omit the type hint and let pandas-on-Spark infer its type.
+        You can omit type hint and let pandas-on-Spark infer its type.

Review Comment:
   "the" is necessary there. Or else change to "type hints".



##########
python/pyspark/pandas/frame.py:
##########
@@ -2512,13 +2512,13 @@ def to_latex(
             Missing data representation.
         formatters : list of functions or dict of {str: function}, optional
             Formatter functions to apply to columns’ elements by position or name. The result of
-            each function must be a unicode string. List must be of length equal to the number of
+            each function must be a Unicode string. List must be of length equal to the number of
             columns.
         float_format : str, optional
             Format string for floating point numbers.
         sparsify : bool, optional
             Set to False for a DataFrame with a hierarchical index to print every multiindex key at
-            each row. By default, the value will be read from the config module.
+            each row. Default the value will be read from the config module.

Review Comment:
   By default



-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org