Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(python): Add function with multiple arguments example to Expr.map_batches #17789

Merged
merged 2 commits into from
Jul 22, 2024

Conversation

henryharbeck
Copy link
Contributor

Closes #17658

I think this is a useful addition as:

  • this is the best way to call non-ufuncs from numpy/scipy that take more than 1 argument
  • it is something that may not be immediately obvious to beginners on how to do

@github-actions github-actions bot added documentation Improvements or additions to documentation python Related to Python Polars labels Jul 22, 2024
@ritchie46
Copy link
Member

Yeap, good one. Thanks!

@ritchie46 ritchie46 merged commit 319daae into pola-rs:main Jul 22, 2024
14 checks passed
@henryharbeck henryharbeck deleted the map-batches branch July 22, 2024 14:07
atigbadr pushed a commit to atigbadr/polars that referenced this pull request Jul 23, 2024
…ap_batches` (pola-rs#17789)

Co-authored-by: Henry Harbeck <henry.harbeck@canstar.com.au>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include example with function accepting multiple arguments in Expr.map_batches
2 participants