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

    https://github.com/apache/spark/pull/20716#discussion_r172024390
  
    --- Diff: python/pyspark/sql/dataframe.py ---
    @@ -612,9 +614,10 @@ def repartition(self, numPartitions, *cols):
             Returns a new :class:`DataFrame` partitioned by the given 
partitioning expressions. The
             resulting DataFrame is hash partitioned.
     
    -        ``numPartitions`` can be an int to specify the target number of 
partitions or a Column.
    -        If it is a Column, it will be used as the first partitioning 
column. If not specified,
    -        the default number of partitions is used.
    +        :param numPartitions:
    +            can be an int to specify the target number of partitions or a 
Column.
    --- End diff --
    
    Cool, was maintaining consistency with other `:param` on page.


---

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

Reply via email to