Giter VIP home page Giter VIP logo

jupyter-boilerplate's Introduction

Jupyter boilerplate

Installation

We'll be working in a Jupyter notebook and will use Virtualenv for installing the dependencies.

Dependencies

We're assuming that Python 3 and virtualenv are already installed on the system. Then, after cloning the repository we need to initialize the virtualenv directory and install the dependencies:

$ virtualenv venv/
$ pip3 install -r requirements.txt

The last part is initializing the kernel that we'll later use in the Jupyter notebook.

ipython kernel install --user --name=A_USEFUL_NAME_LIKE_THE_REPO_NAME

Jupyter extensions

The Jupyter extensions and their configuration has already been installed by the preceding steps, but we still need to enable them.

First, we need to enable nbextensions itself:

jupyter contrib nbextension install --user

And then, unless we want to configure the extensions from the command line, we need to enable the extensions configurator:

jupyter nbextensions_configurator enable --user

For the record, I have enabled:

  • Collapsible headings
  • Autopep8
  • Table of Contents (2)

Launch notebook

Then we can work in the notebook as usual. Just pay attention to select the kernel that we just installed.

jupyter notebook

The notebook assumes that the CSV data is in the data/ directory.

jupyter-boilerplate's People

Contributors

olavolav avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.