Skip to content

migrate: convert joins.ipynb from pandas to polars#8

Open
meshackamadi wants to merge 1 commit into
mainfrom
joins-conversion-to-polars
Open

migrate: convert joins.ipynb from pandas to polars#8
meshackamadi wants to merge 1 commit into
mainfrom
joins-conversion-to-polars

Conversation

@meshackamadi

Copy link
Copy Markdown
Collaborator

Summary

Converts the joins.ipynb chapter from pandas to polars, covering DataFrame concatenation and database-style joins.

Changes

Code

  • pd.concat()pl.concat()
  • pd.merge().join() method
  • Added semi and anti join examples
  • Stata files: read with pandas, convert with pl.from_pandas()
  • Manual indicator column using pl.when()/pl.then()

Text

  • Updated prerequisites to mention polars
  • Changed "merge" to "join" throughout
  • Updated documentation links to polars docs

Testing

  • All code blocks execute successfully
  • All join types produce expected results
  • Notebook renders without errors

Files Modified

  • joins.ipynb

@meshackamadi meshackamadi requested a review from ugohuche July 16, 2026 20:25
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