Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions python/pyarrow/table.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -4670,7 +4670,8 @@ cdef class Table(_PandasConvertible):

Left outer join:

>>> t1.join(t2, 'id')
>>> t = t1.join(t2, 'id')
>>> t.select(["id", "year", "n_legs", "animal"])
pyarrow.Table
id: int64
year: int64
Expand All @@ -4684,7 +4685,8 @@ cdef class Table(_PandasConvertible):

Full outer join:

>>> t1.join(t2, 'id', join_type="full outer")
>>> t = t1.join(t2, 'id', join_type="full outer")
>>> t.select(["id", "year", "n_legs", "animal"])
pyarrow.Table
id: int64
year: int64
Expand All @@ -4698,7 +4700,8 @@ cdef class Table(_PandasConvertible):

Right outer join:

>>> t1.join(t2, 'id', join_type="right outer")
>>> t = t1.join(t2, 'id', join_type="right outer")
>>> t.select(["year", "id", "n_legs", "animal"])
pyarrow.Table
year: int64
id: int64
Expand All @@ -4712,7 +4715,8 @@ cdef class Table(_PandasConvertible):

Right anti join

>>> t1.join(t2, 'id', join_type="right anti")
>>> t = t1.join(t2, 'id', join_type="right anti")
>>> t.select(["id", "n_legs", "animal"])
pyarrow.Table
id: int64
n_legs: int64
Expand Down