This is an automated email from the ASF dual-hosted git repository.

gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 350b8d8388c [PYTHON][DOCS] Fix incorrect doc in 
pyspark.sql.DataFrame.repartition
350b8d8388c is described below

commit 350b8d8388c9ad15303d39f22b249b8c73785695
Author: hongshaoyang <[email protected]>
AuthorDate: Thu Oct 5 13:00:51 2023 +0900

    [PYTHON][DOCS] Fix incorrect doc in pyspark.sql.DataFrame.repartition
    
    ### What changes were proposed in this pull request?
    
    Fix incorrect doc in pyspark.sql.DataFrame.repartition
    
    ### Why are the changes needed?
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #43223 from hongshaoyang/patch-1.
    
    Authored-by: hongshaoyang <[email protected]>
    Signed-off-by: Hyukjin Kwon <[email protected]>
---
 python/pyspark/sql/dataframe.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/pyspark/sql/dataframe.py b/python/pyspark/sql/dataframe.py
index 07a672d4063..c44838c0ee1 100644
--- a/python/pyspark/sql/dataframe.py
+++ b/python/pyspark/sql/dataframe.py
@@ -1886,7 +1886,7 @@ class DataFrame(PandasMapOpsMixin, PandasConversionMixin):
         |        6|
         +---------+
 
-        Repartition the data into 7 partitions by 'age' and 'name columns.
+        Repartition the data into 3 partitions by 'age' and 'name' columns.
 
         >>> df.repartition(3, "name", "age").select(
         ...     sf.spark_partition_id().alias("partition")


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

Reply via email to