Skip to main content

What is Jupyter Notebook?


Working on Jupyter Notebook is like getting into an interactive session while coding. It is an open source web-based tool for programmers; it is a sort of IDE, especially for Julia, Python, and R. The initials of these three languages form the word Jupyter. On this tool, you can code, write rich text and see the output in the form of visualization.

Installation

Jupyter Notebook was earlier known as IPython (Interactive Python). To download Jupyter Notebook, you first need to download Anaconda Distribution. Many libraries come free along with it, so does Jupyter Notebook.

How to Start Jupyter Notebook

Below the Jupyter icon, press the Launch button. See the highlighted area.


After clicking the Launch button, it opens up in a browser like a website. The URL that you see, probably be this one: http://localhost:8888/tree


Jupyter Notebook’s main dashboard looks this.

Launching New Notebook

To launch a new Notebook to work on, go to right-hand side and click the ‘New’ button and from the drop-down menu choose the programming language that you want to use.


A new tab opens up.


Here you can do all coding and see the visuals and all.

Renaming

Generally, the newly opened notebook is Untitled. So, first thing to do is rename it. Notebooks are saved in ipynb files. Data stored in JSON format and it is editable.


Cell:

That highlighted part is known as cell, where you can write code that needs to be executed and can also write Markdown text.


Mode of Operation

Command Mode:


The blue color sign indicates that you are in command mode.


When you click inside the box, it turns green, means you are in edit mode and write code.

Markdown Cell

Markdown cell is a remarkable feature of this Notebook. In this cell, you can put your explanation for the code you ran. For example you can write headings or sub headings or notes. See that highlighted area is a Markdown cell.



Comments

Popular posts from this blog

Six, Five by Binary | Book Review

A few years ago I accidentally came across a novel by William Kent Krueger titled Ordinary Grace. Unaware of my expectations, it turned out to be the best crime cum detective novel I had ever read in my life. So, after that I read many more crime, suspense, and detective fictions, but every time I bring Ordinary Grace for comparison. And this time too with this new novel ‘Six, Five’ written by an Indian writer Binary (probably pen name).

It is a pretty daunting book with over 400 pages and it has unwelcoming cover. Having a boy and girl holding each other’s hand did not make the cover very appealing. Blurb indicates that all Sherlock Holmes fans must go through this book once. I picked up thinking I will be, at least for a week or so, routing through different locations, part of outer and underworld, spies, undercover agents, grumbling detectives, good men and evil men. Often with detective stories, you become a part of their world; instead they enter your world. Much to my surprise,…

Why is Python becoming a Trend among Data Scientists?

Internet technology has set the world on fire. New revolutions are always around the corner. But did you ever notice that nowadays new revolutions are mostly based on technology and driven by data. It is data that is being generated everywhere via the internet. So what’s big deal about it? Well, the data we get from Internet is big data. Websites, social media, servers and so on...all contribute for data. It is data that is driving the demand-supply chain that serves the human race. Since we have been generating humongous amount of data every day, we have data scientists who drive value from it, so that humans can lead life of meaning and purpose and of convenient.


We now got hunch that Python has something to do with big data and work profile of data scientists. Now let’s get back to the point and seek answers as why data scientists are loving languages like Python and R over the traditional programming languages.
Let the pictures below speak for them, as a picture speaks a thousan…

What is Apache Cassandra?