Jupyter Cookbook

Author: Dan Toomey
Publisher: Packt
Pages: 238
ISBN: 978-1788839440
Print: 1788839447
Kindle: B07CDQT8VQ
Audience: developers in data science
Rating: 3.5
Reviewer: Kay Ewbank

This is a collection of 75 recipes for Jupyter used with Python, R, Scala, Spark and JavaScript that aims to take developers from installing and running the Jupyter Notebook system through to working with big data.

The book opens with the basics of installing and setting up Jupyter on Windows, Mac, Linux and a server. While many developers will find these recipes unnecessary, they are dealt with fairly quickly, and the author Dan Toomey then shows how to add various engines - Python 3, R, Julia, JavaScript, Scala and Spark, and in each case how to then run a script. The next few recipes show how to access and retrieve data in CSV, JSON, flat file, text and database files.


From this point on the recipes become more useful, beginning with a chapter on visualizing your analytics. Tooney works through options in Python, R, and Julia, showing how to draw line graphs and histograms, generate regression lines using R, draw a Julia scatter diagram using Gadfly, and so on. The recipes usually start with a getting ready section, followed by instructions on how to do it and how it works. I found some of the explanations rather short, especially where the instructions say 'we can use this script' followed by a listing of a script without details of how you'd go about changing the script to use your own data or alter other aspects of the script to your own needs. However, so long as you know how to program in the particular language and are essentially looking for how to get things started with that combination of Jupyter and the particular language, you should be able to then work things out for yourself.


A chapter on working with widgets comes next, starting with an introduction to widgets in general and ipyleaftlet and ipywidgets. Toomey then shows how to use a widget container, interactive widgets, cookie cutter widgets and developing an OpenGL widget. 

Jupyter Dashboards are then introduced with recipes for creating dashboards for R, Python, Julia and JavaScript.

A fairly lengthy chapter on sharing your code in various ways comes next, with recipes for doing so via a Notebook server, web server, via Docker, and nbviewer. There are also recipes for converting Notebooks to R, HTML, Markdown, reStructuredText, Latex and PDF. 


Jupyter Cookbook

Toomey then moves on to multiuser Jupyter, showing recipes for JupyterHub, Docker, and running your Notebook in Google Cloud, AWS and Azure. Recipes for interacting with big data show how to work with big-text data sources to do simple things like get a word count, examine log file accesses, and analyze big text data to find combinations of two words.

Making use of Jupyter security measures is the next topic to be considered. There are recipes looking at the built-in security measures, how to use SSL and the Jupyter trust model, along with a look at additional practices.The final chapter looks at using Jupyter Labs, and how this differs from previous versions of Jupyter.


There is some useful material in this book, and it serves as a good introduction to the various ways you can work with Jupyter. However, the recipes are best thought of as illustrations of the basics of how each of the combinations works together, rather than illustrating in-depth data analysis techniques. 


To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.


Python 3 For Machine Learning

Author: Oswald Campesato
Publisher: Mercury Learning
Pages: 364
ISBN: 978-1683924951
Print: 1683924959
Kindle: B084P6L424
Audience: Python developers interested in machine learning
Rating: 4
Reviewer: Mike James
Python is the language most used for AI, so why not learn both in one book?

GraphQL in Action (Manning)

Author: Samer Buna
Publisher: Manning
Pages: 384
ISBN: 978-1617295683
Print: 161729568X
Audience: Developers interested in GraphQL
Rating: 4.5
Reviewer: Kay Ewbank

GraphQL has achieved impressive popularity as an open-source language for APIs that can be used for querying and manipulating data.&nbs [ ... ]

More Reviews


Last Updated ( Wednesday, 08 August 2018 )