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

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new fb61e9f7a8 MINOR: [Docs][Python] Fixed a typo in dataset join docs 
(#41802)
fb61e9f7a8 is described below

commit fb61e9f7a821dcb3c753fa6d6c36eec3714c257b
Author: Wenbo Li <[email protected]>
AuthorDate: Fri May 24 08:44:41 2024 +0800

    MINOR: [Docs][Python] Fixed a typo in dataset join docs (#41802)
    
    
    
    ### Rationale for this change
    
    Found a typo in a code example of Python docs.
    
    ### What changes are included in this PR?
    
    `ds1.join(ds2, key="id")` should be `ds1.join(ds2, keys="id")`
    
    ### Are these changes tested?
    
    No, just docs.
    
    ### Are there any user-facing changes?
    
    Yes, but just docs.
    
    Authored-by: Wenbo Li <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 docs/source/python/compute.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/source/python/compute.rst b/docs/source/python/compute.rst
index ce3dfabb0e..c2b46c8f3f 100644
--- a/docs/source/python/compute.rst
+++ b/docs/source/python/compute.rst
@@ -275,7 +275,7 @@ take two datasets and join them:
    ds1 = ds.dataset(table1)
    ds2 = ds.dataset(table2)
 
-   joined_ds = ds1.join(ds2, key="id")
+   joined_ds = ds1.join(ds2, keys="id")
 
 The resulting dataset will be an :class:`.InMemoryDataset` containing the 
joined data::
 

Reply via email to