HyukjinKwon commented on a change in pull request #26896: [PYSPARK][MINOR][DOC] 
fix pyspark slice documentation
URL: https://github.com/apache/spark/pull/26896#discussion_r358034648
 
 

 ##########
 File path: python/pyspark/sql/functions.py
 ##########
 @@ -1973,6 +1973,11 @@ def slice(x, start, length):
     """
     Collection function: returns an array containing  all the elements in `x` 
from index `start`
     (array indices start at 1, or from the end if `start` is negative) with 
the specified `length`.
+
+    :param x: the array to be sliced
+    :param start: the starting index
+    :param length: the length of the slice
 
 Review comment:
   Thanks. Can you match the wording while we're here?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to