Skip to content

scottgriv/jupyter-notebook-demo_notebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Jupyter Badge
GitHub Badge Email Badge BuyMeACoffee Badge
Bronze


Jupyter Notebook - Demo Notebook

A demo for using Jupyter Notebooks with Python.

  • Jupyter Notebooks are used for data science and machine learning.
  • They are also a great way to share code and documentation in a single file.
  • This demo will show you how to install Jupyter Notebooks and how to use them.
  • Jupyter Lab is a newer version of Jupyter Notebooks that is more powerful and easier to use (also covered in this demo).

Jupyter Notebook UI.

Jupyter Lab UI.

Table of Contents

Getting Started

Setting Up and Using Jupyter Notebooks with Virtual Environment:

  1. Install Python on your computer.

  2. Navigate to your project directory in the terminal and create a new virtual environment. Name it (for example, venv):

python3 -m venv venv
  1. Activate the virtual environment:
source venv/bin/activate
  1. Install the required packages:
pip3 install jupyter matplotlib numpy ipykernel
  1. Install the kernal for Jupiter Notebooks:
python3 -m ipykernel install --user --name=venv
  1. Build the notebook
jupyter lab build 
  1. Start the notebook server:
jupyter notebook

or start Jupiter Lab

jupyter lab
  1. This will open the Jupyter Notebook interface in your default browser. From here you can create a new notebook or open an existing one like the notebook included in this repository.

Resources

Online Jupyter Notebooks

Try Jupyter is an online Jupyter Notebook that allows you to run Python code in the cloud. It is a great way to get started with Jupyter Notebooks without having to install anything on your computer.

Google Colab is an online Jupyter Notebook that allows you to run Python code in the cloud. It is a great way to get started with Jupyter Notebooks without having to install anything on your computer.

Kaggle is another online Jupyter Notebook that allows you to run Python code in the cloud. It is a great way to get started with Jupyter Notebooks without having to install anything on your computer.

NBViewer is a web service that allows you to view Jupyter Notebooks online. It is a great way to share your notebooks with others.

Deepnote is another online Jupyter Notebook that allows you to run Python code in the cloud. It is a great way to get started with Jupyter Notebooks without having to install anything on your computer.

Binder is a web service that allows you to run Jupyter Notebooks online. It is a great way to share your notebooks with others.

Databricks Community Edition is a web service that allows you to run Jupyter Notebooks online. It is a great way to share your notebooks with others.

Streamlit is a another web service that allows you to run Jupyter Notebooks online. It is a great way to share your notebooks with others.

Jupyter Notebook

Jupyter Lab

License

This project is released under the terms of The Unlicense, which allows you to use, modify, and distribute the code as you see fit.

  • The Unlicense removes traditional copyright restrictions, giving you the freedom to use the code in any way you choose.
  • For more details, see the LICENSE file in this repository.

Credits

Author: Scott Grivner
Email: scott.grivner@gmail.com
Website: scottgrivner.dev
Reference: Main Branch