Page 168 - AI_Ver_3.0_class_11
P. 168
• • Data Visualisation—Integrated Plots: Easily create and display visualisations using libraries like Matplotlib,
Seaborn, Plotly, and Bokeh directly within the notebook.
• • Collaboration and Sharing—Export Formats: Export notebooks to various formats, including HTML, PDF,
Markdown, and slides.
You can install Jupyter Notebook using pip. For installing Jupyter Notebook, you need to open your terminal or command
prompt and run the following command:
pip install notebook
The steps to open and work with Jupyter Notebook are as follows:
Step 1: Open the Jupyter Notebook by running the following command in your terminal or command prompt:
jupyter notebook
This will start the Jupyter server and open the Jupyter dashboard in your default web browser.
Step 2: Click the New button and select the Python 3 (ipykernal) option in the Jupyter dashboard to create a new
notebook.
The new notebook opens with the default name Untitled. However, you can change the name by clicking over
it. Jupyter Notebook consists of cells. The two main types are Code cells and Markdown cells.
Step 3: Write the code in the Code cell.
Step 4: Click on the Run button in the toolbar or press the Shift + Enter key to run a code.
The output of the code is displayed.
We can work on multiple programs in the same window.
166 Touchpad Artificial Intelligence (Ver. 3.0)-XI

