Document your code

Every project on GitHub comes with a version-controlled wiki to give your
documentation the high level of care it deserves. It’s easy to create
well-maintained, Markdown or rich text documentation alongside your code.

Zebras in a Jupyter Notebook

Zebras in a Jupyter Notebook

Zebras is built for analyzing data in notebooks. Observable is an excellent hosted option. However, if you want to work in a local environment, Jupyter notebooks are your best bet. This guide will explain how to get zebras up and running in a Jupyter notebook using a JavaScript kernel.

Installation

Install Jupyter and IJavascript (the JS Jupyter kernel) - see the instructions on the IJavascript GitHub page here.

Create a project directory and navigate to it in your terminal. Run:

npm init -y
npm install --save zebras jvl
jupyter lab

In Jupyter Lab, create a new notebook using the JavaScript kernel. In a cell, run:

constz=require('zebras')
const {jvl} =require('jvl')

Usage

Load data from a csv file using z.readCSV(). Now you can manipulate and analyze it using zebras functions.