-
Notifications
You must be signed in to change notification settings - Fork 590
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(how-to): add a how-to guide for executing unbound expressions on backends #8522
Conversation
|
Thanks for working on this! Unbound expressions deserve more attention in the docs. |
|
|
||
| In Ibis, you can define unbound tables. An unbound table is a table with a | ||
| specified schema but not connected to a data source. You can think of it as an | ||
| empty CSV file with just the header. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find the CSV analogy a bit confusing :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rephrased slightly. Let me know if it's still confusing?
| con.to_pandas(expr) | ||
| ``` | ||
|
|
||
| Voilà! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
368988c
to
719bf36
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking good, @chloeh13q ! A few small changes, then we can trigger a docs preview to take a look
b9854b3
to
48c36db
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good @chloeh13q -- I spotted one more small thing in the docs preview, but otherwise I think this is good to go.
|
ooooh, ok, this might be something for a followup PR, but it would be really cool to have a second ibis connection that can load in the same parquet data so you can show off executing the same unbound expression (and hammer home the separation of interface from engine) |
816b7bc
to
ad22355
Compare
|
@gforsyth Great point! I added another section to demo execution on Polars, but let me know if there's another backend that you think would complete the story better |
Description of changes
Add a tutorial for executing unbound expressions on backends
Issues closed
Resolves #8297