Skip to content

Sync introduction-combining-data-pandas-merge-join-and-concat with the updated tutorial - #946

Merged
realpython-bot merged 1 commit into
masterfrom
maintenance/pandas-merge-join-and-concat-20261117
Nov 17, 2026
Merged

realpython-bot merged 1 commit into
masterfrom
maintenance/pandas-merge-join-and-concat-20261117

Conversation

@realpython-bot

Copy link
Copy Markdown
Collaborator

Syncs the notebook with the maintenance update of Combining Data in pandas With merge(), .join(), and concat().

What changed

pandas 3.1.0 deprecated the lsuffix and rsuffix keywords of DataFrame.join() in favor of a single suffixes tuple. Calling them now raises a Pandas4Warning. This PR swaps every .join() call in pandas_merge.ipynb to suffixes=(...), and updates the two markdown cells that named the old keywords. Only cell sources changed. Outputs are untouched because the shapes and data are the same.

Verification

  • Executed the whole notebook with nbconvert --execute on Python 3.15.2 and pandas 3.1.1 (the article's new pins) against the folder's CSVs: no errors and no warnings on stderr.
  • uvx ruff@0.14.1 format --check and uvx ruff@0.14.1 check on the folder both pass.

🤖 Generated with Claude Code

…e maintenance update of Combining Data in pandas With merge(), .join(), and concat()

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@realpython-bot
realpython-bot merged commit bfda276 into master Nov 17, 2026
1 check passed
@realpython-bot
realpython-bot deleted the maintenance/pandas-merge-join-and-concat-20261117 branch November 17, 2026 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant