-
Notifications
You must be signed in to change notification settings - Fork 609
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(udfs): improve udf docstring examples (#9079)
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.
- Loading branch information
Showing
1 changed file
with
76 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters