Multiple display views for a notebook
AssigneeDatabricks, Inc.
InventorsIon Stoica, Ali Ghodsi, Chaoyu Yang
Life of this patent
Estimating the term…
Abstract
A system for multiple views for a notebook includes an input interface and a processor. The input interface to receive a notebook. The processor is to load the notebook into a shell, wherein the shell executes the notebook using a cluster, to receive an indication to view a dashboard associated with the notebook, and to provide dashboard display information. The dashboard includes a page layout display.
Claims17
A system for multiple views for a notebook, comprising:
- an input interface to receive a notebook, wherein the notebook comprises a sequential interactive code file comprising a set of code sections;
- a processor to:
- load the notebook into a shell, wherein the shell executes the notebook using a cluster;
- receive an indication to view a dashboard associated with the notebook;
- in response to receiving the indication to view the dashboard, provide dashboard display information, wherein the dashboard comprises a page layout display comprising a first output element, a second output element, a run button within the first output element, and a run all button, wherein the first output element displays a first output associated with executing a first code section of the set of code sections, wherein the second output element displays a second output associated with executing a second code section of the set of code sections, wherein the first output element comprises a graph or a table, and wherein the second output element comprises a graph or a table;
- receive a run button event or a run all button event;
- in response to receiving the run button event:
- execute the first code section of the set of code sections without executing the second code section of the set of code sections to generate an updated first output element;
- and
- display the updated first output element after executing the first code section of the set of code sections;
- and
- in response to receiving the run all button event:
- execute the first code section of the set of code sections and the second code section of the set of code sections to generate a second updated first output element and the updated second output element;
- and
- display the second updated first output element and the updated second output element after executing the first code section and the second code section.
A method for multiple views for a notebook, comprising:
- receiving a notebook, wherein the notebook comprises a sequential interactive code file comprising a set of code sections;
- loading the notebook into a shell, using a processor, wherein the shell executes the notebook using a cluster;
- receiving an indication to view a dashboard associated with the notebook;
- in response to receiving the indication to view the dashboard, providing dashboard display information, wherein the dashboard comprises a page layout display comprising a first output element, a second output element, a run button within the first output element, and a run all button, wherein the first output element displays a first output associated with executing a first code section of the set of code sections, wherein the second output element displays a second output associated with executing a second code section of the set of code sections, wherein the first output element comprises a graph or a table, and wherein the second output element comprises a graph or a table;
- receiving a run button event or a run all button event;
- in response to receiving the run button event:
- executing the first code section of the set of code sections without executing a second code section of the set of code sections to generate an updated first output element;
- and
- displaying the updated first output element after executing the first code section of the set of code sections;
- and
- in response to receiving the run all button event:
- executing the first code section of the set of code sections and the second code section of the set of code sections to generate a second updated first output element and the updated second output element;
- and
- displaying the second updated first output element and the updated second output element after executing the first code section and the second code section.
A computer program product for multiple views for a notebook, the computer program product being embodied in a non-transitory computer readable storage medium and comprising computer instructions for:
- receiving a notebook, wherein the notebook comprises a sequential interactive code file comprising a set of code sections;
- loading the notebook into a shell, wherein the shell executes the notebook using a cluster;
- receiving an indication to view a dashboard associated with the notebook;
- in response to receiving the indication to view the dashboard, providing dashboard display information, wherein the dashboard comprises a page layout display comprising a first output element, a second output element, a run button within the first output element, and a run all button, wherein the first output element displays a first output associated with executing a first code section of the set of code sections, wherein the second output element displays a second output associated with executing a second code section of the set of code sections, wherein the first output element comprises a graph or a table, and wherein the second output element comprises a graph or a table;
- receiving a run button event or a run all button event;
- in response to receiving the run button event:
- executing the first code section of the set of code sections without executing a second code section of the set of code sections to generate an updated first output element;
- and
- displaying the updated first output element after executing the first code section of the set of code sections;
- and
- in response to receiving the run all button event:
- executing the first code section of the set of code sections and the second code section of the set of code sections to generate a second updated first output element and the updated second output element;
- and
- displaying the second updated first output element and the updated second output element after executing the first code section and the second code section.
Dependencies are inferred from the claim text.