Book Image

Jupyter Cookbook

By : Dan Toomey
Book Image

Jupyter Cookbook

By: Dan Toomey

Overview of this book

Jupyter has garnered a strong interest in the data science community of late, as it makes common data processing and analysis tasks much simpler. This book is for data science professionals who want to master various tasks related to Jupyter to create efficient, easy-to-share, scientific applications. The book starts with recipes on installing and running the Jupyter Notebook system on various platforms and configuring the various packages that can be used with it. You will then see how you can implement different programming languages and frameworks, such as Python, R, Julia, JavaScript, Scala, and Spark on your Jupyter Notebook. This book contains intuitive recipes on building interactive widgets to manipulate and visualize data in real time, sharing your code, creating a multi-user environment, and organizing your notebook. You will then get hands-on experience with Jupyter Labs, microservices, and deploying them on the web. By the end of this book, you will have taken your knowledge of Jupyter to the next level to perform all key tasks associated with it.
Table of Contents (17 chapters)
Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
Index

Index

A

  • Amazon Web Services (AWS)
    • Notebook, executing / Running your Notebook in AWS
  • Anaconda Navigator
    • about / How to do it...
    • used, for R engine installation / Installing the R engine using Anaconda Navigator
  • Azure
    • Notebook, executing / Running your Notebook in Azure

B

  • bar chart
    • producing, R used / Producing a bar chart using R, How it works...
  • big-text data
    • analyzing / Analyzing big-text data, How it works...
  • big-text data source
    • word count, obtaining / Obtaining a word count from a big-text data source, How it works...
    • sorted word count, obtaining / Obtaining a sorted word count from a big-text source
  • big-text log file access
    • examining / Examining big-text log file access, How it works...
  • big data history files
    • analyzing / Analyzing big data history files

C

  • comma separated value (CSV) files
    • reading / Reading CSV files, Getting ready, How it works...
  • complex orbit, of multiple objects
    • using / Using a complex orbit of multiple objects, How it works...
  • console
    • starting / Starting a console
  • cookie cutter widget
    • using / Using a cookie cutter widget, How to do it..., How it works...
  • corpus
    • cleaning up, steps / How it works...

D

  • 3D data
    • plotting, Python used / Plotting 3D data using Python, How it works...
  • database
    • accessing / Accessing a database, How to do it..., How it works...
  • Denial of Service (DOS) / Web attack strategies
  • density map
    • generating, Python used / Generating a density map using Python, How to do it...
  • Docker
    • Notebook, sharing / Sharing your Notebook through Docker
    • multiuser, providing / Providing multiuser with Docker, How to do it...

E

  • Encrypt
    • reference / How to do it...

F

  • flat files
    • reading / Reading flat files, How it works...

G

  • Gadfly
    • used, for drawing Julia scatter diagram of Iris data / Drawing a Julia scatter diagram of Iris data using Gadfly
    • used, for drawing Julia histogram / Drawing a Julia histogram using Gadfly
  • Google Cloud Platform (GCP)
    • Notebook, executing / Running your Notebook in Google Cloud Platform
    • reference / Set up your GC project
  • grid layout / Introduction

H

  • histogram
    • generating, Python used / Generating a histogram using Python, How it works...
  • HTML
    • Notebooks, converting / Converting Notebooks to HTML, How it works...
  • HTTP log file sample set
    • reference / Examining big-text log file access

I

  • interactive text widget
    • using / Using an interactive text widget
  • interactive widget
    • using / Using an interactive widget
  • ipywidgets
    • linking example / Another ipywidgets linking example, How it works...

J

  • JavaScript (Node.js) dashboard
    • developing / Develop a JavaScript (Node.js) dashboard
  • JavaScript engine
    • adding / Adding the JavaScript engine
    • Node.JS engine, installing / Installing the Node.JS engine
    • Node.JS script, executing / Running a Node.JS script
  • JavaScript Object Notation (JSON) files
    • reading / Reading JSON files, How to do it..., How it works...
  • Julia
    • used, for visualizing / Visualizing with Julia, How to do it...
    • dashboard, creating / Creating a Julia dashboard, How to do it...
  • Julia engine
    • adding / Adding the Julia engine
    • installing / Installing the Julia engine
    • reference / Installing the Julia engine
    • script, executing / Running a Julia script
  • Julia histogram
    • drawing, Gadfly used / Drawing a Julia histogram using Gadfly
  • Julia line graph
    • drawing, Winston package used / Drawing a Julia line graph using the Winston package
  • Julia scatter diagram, of Iris data
    • drawing, Gadfly used / Drawing a Julia scatter diagram of Iris data using Gadfly
  • Jupyter
    • installing, on Windows / Installing Jupyter on Windows
    • installation, on Linux / Installing Jupyter on Linux
  • Jupyter dashboards
    • about / What is Jupyter dashboards?, How to do it...
    • layout extensions, enabling / Getting ready, How to do it...
    • installing / Getting ready
  • JupyterHub
    • used, for providing multiuser / Providing multiuser with JupyterHub, Getting ready, How to do it...
  • Jupyter installation, on Mac
    • about / Installing Jupyter on the Mac
    • via Anaconda / Installing Jupyter on the Mac via Anaconda
    • via command line / Installing Jupyter on the the Mac via the command line
  • Jupyter installation, on server
    • about / Installing Jupyter on a server
    • Notebook, with user data collision / Example Notebook with a user data collision
  • Jupyter installation, on Windows
    • direct method / Installing Jupyter directly
    • Anaconda, using / Installing Jupyter through Anaconda
  • JupyterLab
    • features / JupyterLab features
    • installing / Installing and starting JupyterLab, Installing JupyterLab
    • starting / Installing and starting JupyterLab, Starting JupyterLab
    • display / JupyterLab display
    • menus / JupyterLab menus, How to do it...
  • Jupyter Scala board
    • reference / Installing the Scala engine
  • Jupyter trust model
    • about / The Jupyter trust model
    • overriding / How to do it..., Trust overrides
    • collaboration / Collaboration

L

  • Latex
    • Notebooks, converting to / Converting Notebooks to Latex, How it works...
  • line graph
    • generating, Python used / Generating a line graph using Python, How it works...
  • Linux
    • Jupyter, installing / Installing Jupyter on Linux
  • locally weighted scatterplot smoothing (LOWESS) / How it works...

M

  • Mac
    • Jupyter, installing / Installing Jupyter on the Mac
  • Markdown
    • Notebooks, converting to / Converting Notebooks to Markdown
  • multiuser
    • need for / Why multiuser?, How it works...
    • providing, with JupyterHub / Providing multiuser with JupyterHub, How to do it...
    • providing, with Docker / Providing multiuser with Docker, How to do it...

N

  • nbviewer
    • reference / Sharing your Notebook using nbviewer
    • used, for sharing Notebook / Sharing your Notebook using nbviewer
  • network access
    • controlling / Controlling network access
    • domain access, controlling / Controlling domain access
    • IP access, controlling / Controlling IP access
  • no authentication
    • using / No authentication
  • Notebook
    • sharing, server software used / Sharing your Notebook using server software
    • web encryption, using / Using web encryption for your Notebook
    • sharing, through public server / Sharing your Notebook through a public server
    • sharing, through Docker / Sharing your Notebook through Docker
    • sharing, nbviewer used / Sharing your Notebook using nbviewer
    • converting, into different format / Converting your Notebook into a different format, How to do it...
    • converting, to R / Converting Notebooks to R
    • converting, to HTML / Converting Notebooks to HTML, How it works...
    • converting, to Markdown / Converting Notebooks to Markdown
    • converting, to reStructedText / Converting Notebooks to reStructedText
    • converting, to Latex / Converting Notebooks to Latex, How it works...
    • converting, to PDF / Converting Notebooks to PDF
    • executing, in Google Cloud Platform (GCP) / Running your Notebook in Google Cloud Platform
    • starting / Starting a Notebook
  • Notebook, executing in AWS
    • about / Running your Notebook in AWS
    • steps / How to do it...
  • Notebook, executing in Azure
    • about / Running your Notebook in Azure
    • steps / How to do it...
  • Notebook, executing in GCP
    • project, setting up / Set up your GC project
    • Cloud storage bucket, creating / Create a Cloud storage bucket
    • cluster, creating / Create a cluster
    • Jupyter, installing / Install Jupyter
    • Jupyter script, downloading / Download the script
    • Jupyter script, executing / Execute the script
    • Jupyter, configuring / Configure Jupyter
    • steps / Next steps
  • Notebook server
    • using / Using a Notebook server

O

  • OPENGL widget
    • developing / Developing an OPENGL widget

P

  • parallel operations
    • used, for computing prime numbers / Computing prime numbers using parallel operations, How it works...
  • password authentication
    • using / Password authentication
  • PDF
    • Notebooks, converting to / Converting Notebooks to PDF
  • prime numbers
    • computing, parallel operations used / Computing prime numbers using parallel operations, How it works...
  • Python
    • used, for generating line graph / Generating a line graph using Python, How it works...
    • used, for generating histogram / Generating a histogram using Python, How it works...
    • used, for generating density map / Generating a density map using Python, How it works...
    • used, for plotting 3D data / Plotting 3D data using Python, How it works...
    • used, for presenting user-interface graphics / Present a user-interactive graphic using Python, How it works...
  • Python 3 engine
    • adding / Adding the Python 3 engine
    • installing / Installing the Python 3 engine
    • script, executing / Running a Python 3 script
  • Python dashboard
    • creating / Create a Python dashboard

R

  • R
    • visualization mechanism / Visualizing with R, How it works...
    • used, for generating regression line of data / Generate a regression line of data using R, How it works...
    • used, for producing Scatter plot matrix / Producing a Scatter plot matrix using R
    • used, for handling Scatter plot matrix / How it works...
    • used, for producing bar chart / Producing a bar chart using R, How it works...
    • used, for producing word cloud / Producing a word cloud using R, How it works...
    • Notebooks, converting / Converting Notebooks to R
  • R dashboard
    • creating / How to do it..., How it works...
  • regression line, of data
    • generating, R used / Generate a regression line of data using R
  • R engine
    • adding / Adding the R engine
    • installing, Anaconda Navigator used / Installing the R engine using Anaconda Navigator
    • installing, via command line / Installing the R engine via command line
    • script, executing / Running an R Script
  • report layout / Introduction
  • Resilient Distributed Dataset (RDD) / How it works...
  • reStructedText
    • Notebooks, converting / Converting Notebooks to reStructedText
  • R lowess line graph
    • generating / Generate an R lowess line graph, How it works...

S

  • Scala engine
    • adding / Adding the Scala engine
    • installing / Installing the Scala engine
    • script, executing / Running a Scala script
  • Scatter plot matrix
    • producing, R used / Producing a Scatter plot matrix using R, How it works...
  • security, best practices
    • about / Additional practices
    • server IP address, specifying / How to do it...
    • no browser / No browser
  • security mechanisms
    • about / Introduction
    • risks, calculating / How much risk?
    • known vulnerabilities / Known vulnerabilities
    • web attack strategies / Web attack strategies
    • inherent Jupyter security issues / Inherent Jupyter security issues
    • built, into Jupyter / Security mechanisms built into Jupyter
  • server
    • Jupyter , installing / Installing Jupyter on a server
  • server IP address
    • URL prefix / URL prefix
  • simple orbit, object
    • creating / Creating a simple orbit of one object
  • sorted word count
    • obtaining, from big-text source / Obtaining a sorted word count from a big-text source
  • Spark engine
    • adding / Adding the Spark engine
    • installing / Installing the Spark engine
    • reference / Installing the Spark engine
    • script, executing / Running a Spark script
  • SSL
    • using / Using SSL
  • SSL certificate
    • creating / Creating an SSL certificate
    • applying / Apply the SSL certificate

T

  • text files
    • reading / Reading text files, How to do it..., How it works...
  • token-based authentication
    • using / Token-based authentication

U

  • user-interactive graphic
    • presenting, Python used / Present a user-interactive graphic using Python, How it works...

V

  • visualization
    • R, using / Visualizing with R, How it works...
    • Julia, using / Visualizing with Julia, How to do it...

W

  • web server
    • using / Using a web server
  • widget container
    • using / Using a widget container
  • widgets
    • about / What are widgets?
    • types / What are widgets?
    • linking together / Linking widgets together
  • Windows
    • Jupyter, installing / Installing Jupyter on Windows
  • Winston package
    • used, for drawing Julia line graph / Drawing a Julia line graph using the Winston package
  • word cloud
    • producing, R used / Producing a word cloud using R, How it works...
  • word count
    • obtaining, from big-text data source / Obtaining a word count from a big-text data source, How it works...