panbingkun commented on code in PR #43168:
URL: https://github.com/apache/spark/pull/43168#discussion_r1349439434
##########
python/pyspark/sql/functions.py:
##########
@@ -11738,15 +11738,29 @@ def create_map(
>>> from pyspark.sql import functions as sf
>>> df = spark.createDataFrame([("Alice", 2, "female"),
- ... ("Bob", 5, "male")], ("name", "age",
"gender"))
+ ... ("Bob", 5, "male")], ("name", "age", "gender"))
Review Comment:
Because our Python style uses 4 spaces for indentation, I suggest
maintaining consistent indentation in the same code snippet (Existing examples
and newly added examples.)
--
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]