Install jupyter notebook

install-jupyter-notebook

Jupyter Notebook is an open-source web application which runs on python that allows you to create and share documents. It contains code, equations, graph visualizations, markdown text. It is a very popular tool among programmers, data scientists, researchers as it provides an interactive environment for data analysis and visualization.

Steps mentoned here will work in Linux, Max and Windows systems.

Jupyter Notebook allows you to share your code, data, and analysis with others. You can easily export your notebooks to HTML, PDF, and other formats, and even GitHub supports this ipybn format.

To install Jupyter Notebook

pip install jupyter

Jupyter Notebook Extensions

You can add additional features to jupyter notebook by using Jupyter Notebook extensions. Features like Autopep8, ExecuteTime, Code Wrap, etc are avaiable.

To install Jupyter Notebook Extensions run below command one by one

pip install jupyter_contrib_nbextensions

This command will move the javascript and css files to jupyter server search directory.

jupyter contrib nbextension install 

In the screenshot you can see the list of available extensions.
Jupyter Notebook Extensions

How to run the Jupyter Notebook?

Open terminal or command prompt, go to the directory where you want to work on, then type this command, it trigger jupyter server and will open in a browser tab.

jupyter notebook

Learn more python tutorials

Python Create Virtual Environment
Read and Write JSON in Python Requests from API
Read and Write Python Json
How to combine two dictionaries in python using different methods
How to check if a key exists in a dictionary python
Python try exception tutorial

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
the-price-is-right!-pricing-and-packaging-to-win-in-a-competitive-world

The price is right! Pricing and packaging to win in a competitive world

Next Post
website-to-storage-contacts-data-and-share-it-with-others.-(django-rest-api-react)

Website to storage contacts data and share it with others. (Django REST API React)

Related Posts
5章5

5章5

このJavaコードのスニペットには、ItemクラスとMainクラスの2つのクラスが含まれています。ItemクラスにはnameというString型の変数とpriceというint型の変数があり、priceは100に初期化されています。 Mainクラスにはmainメソッドがあり、ここでプログラムが実行されます。mainメソッドはItemオブジェクトの配列itemsを作成し、その長さを3に設定します。その後、整数型の変数totalを0で初期化し、forループを使用して各Itemオブジェクトのpriceをtotalに加算します。 しかし、このコードにはItemオブジェクトを実際にitems配列に割り当てるコードがありません。つまり、items配列にはデフォルトでnullが設定されているため、Itemのインスタンスが存在せず、items[i].priceを参照しようとするとNullPointerExceptionが発生します。 そのため、選択肢E「実行時に例外がスローされる」という答えが正しいです。Itemオブジェクトがitems配列に割り当てられていないため、forループの実行時にnullのpriceにアクセスしようとして例外がスローされます。 コードにコメントを加えて説明すると以下のようになります: public class Item { String name; // 商品名を保存する変数 int price = 100; //…
Read More