Jupyter notebook: document and run code from the browser

In the article Anaconda Distribution: The Most Complete Suite for Data Science with Python We talked that we were going to detail interesting tools that are installed automatically with this suite. One of those tools is Jupyter Notebook which is ideal for those who are learning to program in Python and they need to document everything they learn, in addition to those that must submit science-based reports.

What is Jupyter Notebook?

El Jupyter Notebook is a open source web application, developed using HTML agnostic language that allows create, share and edit documents in which python code can be executed, make annotations, insert equations, visualize results and document functionalities.

This application is generally designed to have advanced compatibility with Python, Markdown and it includes the possibility of exporting documents made with the tool to other formats.

Generally this tool is used for the learning the python programming language, cleaning and transforming scientific data, numerical simulation, statistical modeling and can cover many other areas.

Jupyter Notebook

Jupyter Notebook Features

Among the many features of Jupyter Notebook we can highlight:

  • Easy to install thanks to being present in the Anaconda Distribution Suite.
  • It has an advanced web interface that allows combining source code, texts, formulas, figures and multimedia in a single document.
  • The integration of different types of information allows us to give more adequate explanations of our programs or of the concepts that we are learning.
  • Allow the aAccess from anywhere without the need to install other services, since it works as a client server. Similarly, it can be run on a local desktop or on a remote server.
  • Although the fundamental programming language in Jupyter Notebook is Python, this app is also compatible with more than 40 languages, among which R, Julia and Scala stand out.
  • Allows the exchange of Jupyter documents through third-party services.
  • We can execute and view images, videos, LaTeX and JavaScript, in addition to manipulating the results of them in real time.
  • It has an advanced document manager, which allows you to view the files compatible with Jupyter Notebook that are hosted on our computer.
  • Documents made in Jupyter Notebook can be exported to different static formats including HTML, reStructeredText, LaTeX, PDF, and slide shows.
  • It's compatible with Nbviewer which allows us to port our Jupyter Notebook documents to the cloud as a static web page, which can be viewed by anyone no need to install the Jupyter Notebook .

jupyter notebook preview

How to use and install Jupyter Notebook?

If we have previously installed Anaconda Distribution, we already have Jupyter Notebook installed and we can run it from the terminal with jupyter notebook, This command will execute the services necessary for the tool to function properly and will automatically open our default browser so that we can start enjoying the Jupyter functionalities.

In case you do not want to install Anaconda Distribution we can install Jupyter Notebook using Python pipTo do this, open a terminal and run the following command:

$ pip install notebook

In the same way, we can enjoy an online demo of the application from the following link and an extensive documentation of all its functionalities can be found in its Official Site.

Jupyter Notebook is a tool that I consider essential for those who are starting out in the fabulous world of Python programming, but it also has great potential for those who want to study data science in an orderly way, with all the potential of Python and with the possibility of documenting all the scientific basis that has been used.


2 comments, leave yours

Leave a Comment

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

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Javier said

    Hey.
    "Agnostic" is a poor translation of the English "agnostic." Please use "independent" or "neutral" instead. Thank you.

    1.    Hector Ramirez said

      The Dictionary of the Royal Academy of the Spanish Language (DRAE) contains the following definition of the word agnostic, the one that anyone with more goodwill than the urge to pump their balls would have found in a few milliseconds less than it takes to send an unhappy comment. Thank you, lizard, for your dedication and dedication in presenting us with excellent information.