You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/05/31 09:20:31 UTC

[GitHub] [arrow] jorisvandenbossche commented on a diff in pull request #13260: ARROW-16685: [Python] Failing docstring example in Table.join

jorisvandenbossche commented on code in PR #13260:
URL: https://github.com/apache/arrow/pull/13260#discussion_r885406301


##########
python/pyarrow/table.pxi:
##########
@@ -4698,21 +4700,23 @@ 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(["id", "year", "n_legs", "animal"])

Review Comment:
   Should we follow the column order of the right join here? (i.e. switch "id" and "year", which seems to always be the case)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org