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

Add in user example that compares a two different approaches to UDFs #770

Merged
merged 2 commits into from
Aug 1, 2024

Conversation

timsaucer
Copy link
Contributor

Which issue does this PR close?

None

Rationale for this change

The current example for python UDF is useful but doesn't demonstrate to a new user how they might implement a UDF using converting rows to python objects vs using features built in to pyarrow. This example shows a real use case where someone could perform such operations. Also it prints out timing results showing how using a pyarrow approach can give you a 10x speed improvement over converting to python objects.

What changes are included in this PR?

Added one example

Are there any user-facing changes?

None

@timsaucer timsaucer mentioned this pull request Jul 26, 2024
@Michael-J-Ward Michael-J-Ward mentioned this pull request Jul 26, 2024
10 tasks
@andygrove andygrove merged commit 951d6b9 into apache:main Aug 1, 2024
3 checks passed
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.

2 participants