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

    https://github.com/apache/spark/pull/15947#discussion_r88805095
  
    --- Diff: python/pyspark/rdd.py ---
    @@ -1220,10 +1219,10 @@ def top(self, num, key=None):
             """
             Get the top N elements from an RDD.
     
    -        Note that this method should only be used if the resulting array 
is expected
    -        to be small, as all the data is loaded into the driver's memory.
    +        .. note:: This method should only be used if the resulting array 
is expected
    +            to be small, as all the data is loaded into the driver's 
memory.
     
    -        Note: It returns the list sorted in descending order.
    +        .. note:: It returns the list sorted in descending order.
    --- End diff --
    
    (Multiple notes)
    
    <img width="657" alt="2016-11-21 1 03 50" 
src="https://cloud.githubusercontent.com/assets/6477701/20464325/f5b4deec-af88-11e6-84a2-23a1488c1649.png";>



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to