-
Notifications
You must be signed in to change notification settings - Fork 595
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
ux: change non-interactive repr to look more like interactive repr #10095
Comments
In all seriousness, I really like this idea! |
Sounds good! I think we should aim to get this in for 10.0 then. One open question is what to do with scalars (since in interactive mode they only show the value, not the type). A few options:
I have a slight preference for the first option, but 🤷. |
I definitely like the look of this -- it might be nice to keep the old repr around for OUR inspection, but make it private. I like option 1 above, but I can get on board with any of them. |
I randomly found this and just wanted to chime in: I think this sounds like a great idea and moving the old repr to an
not sure what visibility you mean by private (maybe just surrounded wth |
yeah, just with a leading |
Currently when constructing ibis expressions in non-interactive mode (the default), expressions repr as a description of the operations they're composed of:
While this expr repr can be nice for inspection, it's rarely what I want when building up expressions lazily. Since ibis expressions are very composable, rarely do I need to know the steps used to get to a certain expression (e.g. I don't care that a
group_by
orfilter
was called earlier). Really all I care about is the schema/type of the object.I propose we:
expr.explain()
or something.A quick mockup:
The text was updated successfully, but these errors were encountered: