Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Jupyter

You're reading from   Learning Jupyter Select, Share, Interact and Integrate with Jupyter Notebook

Arrow left icon
Product type Paperback
Published in Nov 2016
Publisher Packt
ISBN-13 9781785884870
Length 238 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Dan Toomey Dan Toomey
Author Profile Icon Dan Toomey
Dan Toomey
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Introduction to Jupyter FREE CHAPTER 2. Jupyter Python Scripting 3. Jupyter R Scripting 4. Jupyter Julia Scripting 5. Jupyter JavaScript Coding 6. Interactive Widgets 7. Sharing and Converting Jupyter Notebooks 8. Multiuser Jupyter Notebooks 9. Jupyter Scala 10. Jupyter and Big Data

First look at Jupyter

Here is a sample opening page when using Jupyter (this screenshot is on a Windows machine):

First look at Jupyter

You should get yourself acquainted with the environment. The Jupyter user interface has a number of components:

  • Product title, Jupyter, in the top left (as expected). The logo and the title name are clickable and will return you to the Jupyter Notebook home page.
  • There are three tabs displayed: Files, Running, and Clusters:

    First look at Jupyter

    • The Files tab shows the list of files in the current directory of the page (described later on in this section).
    • The Running tab presents another screen of the currently running processes and notebooks. The drop-down lists for Terminals and Notebooks are populated with their running members:

      First look at Jupyter

    • The Clusters tab presents another screen to display the list of clusters available. This topic is covered in a later chapter:

      First look at Jupyter

  • In the top right corner of the screen are three buttons: Upload, New (menu), and a Refresh button.
  • The Upload button is used to add files to the notebook space. You may also just drag and drop as you would when handling files. Similarly, you can drag and drop notebooks into specific folders as well.
  • The menu with New at the top presents a further menu of Text File, Folder, Terminals Unavailable, Notebooks, and Python 2:

    First look at Jupyter

    • The Text File option is used to add a text file to the current directory. Jupyter will open a new browser window for you running a text editor. The text entered is automatically saved and will be displayed in your notebook's Files display:

      First look at Jupyter

      Note

      The default filename, untitled.txt, is editable.

    • The Folder option creates a new folder with the name Untitled Folder. Remember, all of the file/folder names are editable:

      First look at Jupyter

    • The Terminals Unavailable option is disabled for Windows. On a Mac, the option allows you to start an IPython session.
    • The Notebooks option will be activated when additional notebooks are available in your environment.
    • The Python 2 option is used to begin a Python 2 session interactively in your notebook. The interface looks like the following screenshot. You have full file editing capabilities for your script, including saving as a new file. You also have a complete working IDE for your Python script:

      First look at Jupyter

      Note

      Like the Text File and Folder option, you have created a Python script file in your notebook and it is running!

      First look at Jupyter

  • The refresh button is used to update the display. It's not really necessary as the display is reactive to any changes in the underlying file structure.
  • At the top of the Files tab's item list is a checkbox, a drop-down menu, and a home button:
    • The checkbox is used to toggle all the checkboxes in the Items list
    • The drop-down menu presents a list of the choices available, Folders, All Notebooks, Running, and Files, as shown in the following screenshot:

      First look at Jupyter

    • The Folders selection will select all the folders in the display and present a count of the folders in the small box
    • The All Notebooks selection will change the count to the number of notebooks and provide you with three options:
      • Duplicate the current notebook
      • Shut down the current notebook
      • Trash the current notebook
    • You can see them in the following screenshot:

      First look at Jupyter

    • The Running selection will select any running scripts and update the count to the number selected

      First look at Jupyter

    • The Files selection will select all of the files in the notebook display and update the count accordingly
    • The home button brings you back to the home screen of the notebook.

On the left-hand side of every item is a checkbox, an icon, and the item's name:

First look at Jupyter

  • The checkbox is used to build a set of files to operate upon.
  • The icon is indicative of the type of item. In this case, all of the items are folders.
  • The name of the item corresponds to the name of the object. In this case, the filenames are as used on the disk.
You have been reading a chapter from
Learning Jupyter
Published in: Nov 2016
Publisher: Packt
ISBN-13: 9781785884870
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image