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

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


The following commit(s) were added to refs/heads/branch-3.2 by this push:
     new 35d7c4a  [MINOR][PYTHON][DOCS] Update pandas_pyspark.rst
35d7c4a is described below

commit 35d7c4aac1f1e617608d5c69981f236bb459c5e5
Author: Kamel Gazzaz <[email protected]>
AuthorDate: Fri Dec 24 17:35:27 2021 +0900

    [MINOR][PYTHON][DOCS] Update pandas_pyspark.rst
    
    ### What changes were proposed in this pull request?
    
    * 'to'-> 'the'
    * 'it requires to create new default index in case' -> 'a new default index 
is created when'
    
    ### Why are the changes needed?
    
    Grammar fix
    
    ### Does this PR introduce _any_ user-facing change?
    
    Documentation fix
    
    ### How was this patch tested?
    
    No test needed
    
    Closes #34998 from kamelCased/patch-1.
    
    Authored-by: Kamel Gazzaz <[email protected]>
    Signed-off-by: Hyukjin Kwon <[email protected]>
    (cherry picked from commit 072e7ca76f6a6145cf5af9a4435d7c4a841ee19d)
    Signed-off-by: Hyukjin Kwon <[email protected]>
---
 python/docs/source/user_guide/pandas_on_spark/pandas_pyspark.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/docs/source/user_guide/pandas_on_spark/pandas_pyspark.rst 
b/python/docs/source/user_guide/pandas_on_spark/pandas_pyspark.rst
index f4fc0da..d91c383 100644
--- a/python/docs/source/user_guide/pandas_on_spark/pandas_pyspark.rst
+++ b/python/docs/source/user_guide/pandas_on_spark/pandas_pyspark.rst
@@ -31,7 +31,7 @@ get familiar with pandas API on Spark in this case. This page 
aims to describe i
 pandas
 ------
 
-pandas users can access to full pandas API by calling 
:func:`DataFrame.to_pandas`.
+pandas users can access the full pandas API by calling 
:func:`DataFrame.to_pandas`.
 pandas-on-Spark DataFrame and pandas DataFrame are similar. However, the 
former is distributed
 and the latter is in a single machine. When converting to each other, the data 
is
 transferred between multiple machines and the single client machine.
@@ -114,7 +114,7 @@ Spark DataFrame can be a pandas-on-Spark DataFrame easily 
as below:
    2   8
    3   9
 
-However, note that it requires to create new default index in case 
pandas-on-Spark DataFrame is created from
+However, note that a new default index is created when pandas-on-Spark 
DataFrame is created from
 Spark DataFrame. See `Default Index Type <options.rst#default-index-type>`_. 
In order to avoid this overhead, specify the column
 to use as an index when possible.
 

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

Reply via email to