Skip to content
Novus Examples
ipynb1.7 KB

Jupyter Notebook (IPYNB)

A valid Jupyter notebook (nbformat 4.5) with markdown cells, code cells, and real outputs (stdout stream and an execute result) — for testing notebook parsers, nbconvert, and JSON tooling.

Preview — first 50 linesipynb
{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Monthly Revenue Analysis\n",
    "\n",
    "A short example notebook: load a small revenue table, compute the total, and ",
    "find the best month. Free to use for testing notebook parsers and converters."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "\n",
    "df = pd.DataFrame({\n",
    "    'month': ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'],\n",
    "    'revenue': [42, 48, 55, 51, 63, 70],\n",
    "})"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Total revenue: 329\n"
     ]
    }
   ],
   "source": [
    "print('Total revenue:', df['revenue'].sum())"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
86 lines total — download for the full file.

Specifications

Format
nbformat 4.5
Cells
5
Cell Types
markdown + code
Outputs
stream + execute_result

What is a .ipynb file?

An IPYNB file is a Jupyter notebook — a JSON document that stores an ordered list of cells (markdown and code) together with each code cell's outputs, execution counts, and kernel metadata. It is the standard interactive-computing document format for Python and other languages.

How to use this file

Use an example notebook to test notebook parsers, nbconvert and other converters, cell/output extraction, and JSON tooling.

Generated by generation/data_dev_artifacts.py. Free for any use, no attribution required — license.