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(udfs): improve udf docstring examples #9079

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

gforsyth
Copy link
Member

UDF arguments need to be Ibis expressions. In the existing docstring examples
for the UDF decorators, it can be unclear that the integers being passed to
add_one are implicitly converted to Ibis literals.

To make it clearer, I've added memtables to all the examples, and used pandas-
and pyarrow-specific functions to the examples.

@gforsyth
Copy link
Member Author

xref #9069

@cpcloud cpcloud added this to the 9.0 milestone Apr 29, 2024
@cpcloud cpcloud added the docs Documentation related issues or PRs label Apr 29, 2024
@cpcloud cpcloud merged commit fead40b into ibis-project:main Apr 29, 2024
84 checks passed
@gforsyth gforsyth deleted the udf_docstrings branch April 29, 2024 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation related issues or PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants