May 2018
Beginner to intermediate
364 pages
7h 43m
English
In this section, we discuss the backbone of issues related to Jupyter Notebook's formats.
For more information associated with the formats for Jupyter Notebook, you will find a useful link here: https://nbformat.readthedocs.io/en/latest/. First, let's look at one of the simplest notebooks, Custom Widget – Spreadsheet.ipynb. It has just five lines, shown here:
{
"cells": [],
"metadata": {},
"nbformat": 4,
"nbformat_minor": 0
}
The whole notebook code is included in a pair of curly brackets. At the highest level, a Jupyter notebook is a dictionary with the following few keys:
In the previous example code block, both the cells and metadata are empty. ...
Read now
Unlock full access