Skip to content

Commit

Permalink
MINOR: [Docs][Python] Fixed a typo in dataset join docs (#41802)
Browse files Browse the repository at this point in the history
### 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]>
  • Loading branch information
hnjylwb authored May 24, 2024
1 parent 799021a commit fb61e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/python/compute.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand Down

0 comments on commit fb61e9f

Please sign in to comment.