Code · 1 file

Sample Jupyter Notebook File

Jupyter notebooks (.ipynb) are JSON documents mixing code, Markdown and saved outputs. The Jupyter Notebook sample is a small program — a customer record, a VIP check and a formatted total — that is the same in every language we offer, so you can compare them side by side.

Jupyter Notebook · 1.9 KB

Jupyter notebook (.ipynb)

An nbformat 4.5 notebook with markdown cells, code cells and saved outputs — a result, printed text and an error traceback.

CC0 · free for any use · Verified by an independent tool · Report a problem

sample.ipynb — first linesJSON
{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Sample Jupyter notebook\n",
    "\n",
    "Generated by samplefiles.com. It has markdown, code and saved outputs, including an error."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "output_type": "execute_result",
     "execution_count": 1,
     "metadata": {},
     "data": {
      "text/plain": [
       "23330.5"
      ]
     }

File details

Size
1.9 KB (1,961 bytes)
MIME type
application/x-ipynb+json
SHA-256
57669758105ddee4863549e9ede3a884fd978378d05ca2d94657328dd123e9b4
MD5
57673652c6afa8f3f0ae1c7c1060950e

Download from the command line

curl -L -o sample.ipynb https://files.samplefiles.com/code/ipynb/sample.ipynb

Or check the download in your browser with the checksum calculator.