Running Jupyter Notebooks - Qubole Data Service Documentation

Qubole Data Service Logo
  • Getting Started
  • Release Information
  • How-To (QDS Guides, Tasks, and FAQs)
    • User Guide
      • Introduction
      • Account Settings
      • Creating Notification Channels
      • Data Analytics
      • Cost Explorer
      • Command Templates
      • Data Exploration
      • Engines
      • Clusters
      • Data Engineering
      • Data Science
        • Notebooks
        • Dashboards
      • Hive ACID Transactions
      • Cloud File Systems
      • Package Management
      • Macros
      • File and Partition Sensors
    • Qubole Product Suite
    • Administration Guide
    • QDS Alerts and Runbooks
    • FAQs
  • Qubole Product Suite
  • Connectivity Options
  • REST API Reference
  • Troubleshooting Guide
  • How QDS Works
  • Product Security Guide
  • Additional Resources
  • Providing Feedback
Qubole Data Service
  • How-To (QDS Guides, Tasks, and FAQs)
  • User Guide
  • Data Science
  • Notebooks
  • Jupyter Notebooks
  • Running Jupyter Notebooks
Running Jupyter Notebooks

After creating a Jupyter notebook, you can either run the required cells by using the Run option for a cell or run all cells by using the Run All Cells option. You can use these options from the toolbar of the notebook or from the context menu of the cells.

For more information, see Other Options.

Running a Jupyter Notebook from Another Jupyter Notebook

You can run a Jupyter notebook from another Jupyter notebook that has the same type of kernel. For example, you can run a Jupyter notebook with Spark kernel from another Jupyter notebook with Spark kernel.

  1. From the left Sidebar, select and right-click on the Jupyter notebook that has to be run from another notebook.

  2. From the context menu, select Copy Path.

  3. Open the Jupyter notebook from which you want to run another notebook.

  4. Enter the %run magic as shown below:

    %run<pathofthenotebookthathastoberun>
  5. Click Run.

The notebook run is synchronous. The cell that initiates the notebook run, waits until the completion of the called notebook before proceeding.

The following image shows the Jupyter notebook n2.ipynb that has to be run from another notebook.

../../../../_images/src-run-magic.png

The following image shows how to run a Jupyter notebook n2.ipynb from another notebook.

../../../../_images/run-with-magic.png Feedback | Try Free Trial

Tag » How To Open Jupyter Notebook