You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2021/12/24 08:36:09 UTC

[spark] branch master updated: [MINOR][PYTHON][DOCS] Update pandas_pyspark.rst

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 072e7ca  [MINOR][PYTHON][DOCS] Update pandas_pyspark.rst
072e7ca is described below

commit 072e7ca76f6a6145cf5af9a4435d7c4a841ee19d
Author: Kamel Gazzaz <60...@users.noreply.github.com>
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 <60...@users.noreply.github.com>
    Signed-off-by: Hyukjin Kwon <gu...@apache.org>
---
 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 04d6617..6cb9f443 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: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org