-
Notifications
You must be signed in to change notification settings - Fork 603
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ux): add Table and Column.preview()
- unifies __interactive_rich_console__() from Scalar, Column, and Relation into the parent Expr's __rich_console__(). This calls to_rich(), which is reposnsible for turning an Expr into a rich object. Now all implementations have the console.is_jupyter checks, before only the Table did. - propagates repr options downward through all the formatters in pretty.py, so you can pass hardcoded options instead of pulling from ibis.options.repr.interactive - moves the check for ibis.options.repr.show_variables inside format.pretty(), the only place where it is used.
- Loading branch information
Showing
5 changed files
with
323 additions
and
134 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
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
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
Oops, something went wrong.