python-ecology-lesson
python-ecology-lesson copied to clipboard
Ordering of left/right does not matter for *any* join
The Combining DataFrames with Pandas notes that:
For inner joins, the order of the left and right arguments does not matter.
However, this is true of all joins. I would suggest modifying this text to reflect this. Otherwise it is misleading and implies that it may matter for other types of joins.
I believe order matters for left and right (outer) joins. Could you please clarify your point?
@maneesha Thank you for your report. Order does matter for certain joins, e.g., the left join preserves all rows for the left argument, so I'm closing this one.