Questions tagged [jupyter-notebook]

The Jupyter Notebook is a web application that provides a frontend to many different languages and interactive shells such as IPython. Jupyter Notebook, unlike its predecessor IPython Notebook, supports many different languages and interactive shells in addition to Python and IPython.

Jupyter Notebook is a web application based on . It provides a frontend to many different languages and interactive shells.

Jupyter Notebook supports more than 40 different languages including , , and .

Each Jupyter Notebook document may contain executable code blocks, outputs, and Markdown text.

Jupyter Notebook is the successor to , which was part of the project. However, Jupyter and IPython are separate projects as of IPython 4.0.

More information:

16726 questions
116
votes
3 answers

How to pickle or store Jupyter (IPython) notebook session for later

Let's say I am doing a larger data analysis in Jupyter/Ipython notebook with lots of time consuming computations done. Then, for some reason, I have to shut down the jupyter local server I, but I would like to return to doing the analysis later,…
Robin Nemeth
  • 3,051
  • 3
  • 21
  • 29
115
votes
7 answers

How to set the matplotlib figure default size in ipython notebook?

I use "$ipython notebook --pylab inline" to start the ipython notebook. The display matplotlib figure size is too big for me, and I have to adjust it manually. How to set the default size for the figure displayed in cell?
bigbug
  • 40,984
  • 35
  • 71
  • 92
114
votes
2 answers

How to programmatically generate markdown output in Jupyter notebooks?

I want to write a report for classes in Jupyter notebook. I'd like to count some stuff, generate some results and include them in markdown. Can I set the output of the cell to be interpreted as markdown? I'd like such command: print '$\phi$' to…
fulaphex
  • 2,121
  • 3
  • 12
  • 23
113
votes
6 answers

Inserting a Link to a Webpage in an IPython Notebook

How is this done? I'd like to have the link be in a markdown cell.
dbliss
  • 8,060
  • 13
  • 43
  • 74
112
votes
5 answers

IOPub data rate exceeded in Jupyter notebook (when viewing image)

I want to view an image in Jupyter notebook. It's a 9.9MB .png file. from IPython.display import Image Image(filename='path_to_image/image.png') I get the below error: IOPub data rate exceeded. The notebook server will temporarily stop sending…
lmart999
  • 4,983
  • 6
  • 27
  • 33
110
votes
6 answers

How do I install Python packages in Google's Colab?

In a project, I have e.g. two different packages, How can I use the setup.py to install these two packages in the Google's Colab, so that I can import the packages?
Lin Jianjie
  • 1,100
  • 2
  • 5
  • 4
107
votes
12 answers

Error when executing `jupyter notebook` (No such file or directory)

When I execute jupyter notebook in my virtual environment in Arch Linux, the following error occurred. Error executing Jupyter command 'notebook': [Errno 2] No such file or directory My Python version is 3.6, and my Jupyter version is 4.3.0 How can…
David Chen
  • 1,473
  • 2
  • 9
  • 21
107
votes
29 answers

Running Jupyter via command line on Windows

I have installed Jupyter on Windows 10, Python 3.x via $ pip install jupyter The installation works fine, even though I did restart the terminal. But trying to run $ jupyter notebook gives the following error 'jupyter' is not recognized as an…
eleijonmarck
  • 3,374
  • 4
  • 18
  • 24
107
votes
5 answers

Is there an equivalent to CTRL+C in IPython Notebook in Firefox to break cells that are running?

I've started to use the IPython Notebook and am enjoying it. Sometimes, I write buggy code that takes massive memory requirements or has an infinite loop. I find the "interrupt kernel" option sluggish or unreliable, and sometimes I have to restart…
wwwilliam
  • 7,792
  • 7
  • 27
  • 32
105
votes
8 answers

How to set env variable in Jupyter notebook

I've a problem that Jupyter can't see env variable in bashrc file, is there a way to load these variables in jupyter or add custome variable to it?
Ehab AlBadawy
  • 1,825
  • 4
  • 15
  • 26
104
votes
7 answers

How to dynamically update a plot in a loop in Ipython notebook (within one cell)

Environment: Python 2.7, matplotlib 1.3, IPython notebook 1.1, linux, chrome. The code is in one single input cell, using --pylab=inline I want to use IPython notebook and pandas to consume a stream and dynamically update a plot every 5 seconds.…
user3236895
  • 1,255
  • 2
  • 10
  • 11
104
votes
7 answers

in Ipython notebook / Jupyter, Pandas is not displaying the graph I try to plot

I am trying to plot some data using pandas in Ipython Notebook, and while it gives me the object, it doesn't actually plot the graph itself. So it looks like this: In [7]: pledge.Amount.plot() Out[7]:
chrisfs
  • 5,513
  • 6
  • 27
  • 35
103
votes
12 answers

Jupyter notebook display two pandas tables side by side

I have two pandas dataframes and I would like to display them in Jupyter notebook. Doing something like: display(df1) display(df2) Shows them one below another: I would like to have a second dataframe on the right of the first one. There is a…
Salvador Dali
  • 182,715
  • 129
  • 638
  • 708
103
votes
19 answers

How to convert IPython notebooks to PDF and HTML?

I want to convert my ipython-notebooks to print them, or simply send them in html format. I have noticed that there exists a tool to do that already, nbconvert. Although I have downloaded it, I have no idea how to convert the notebook, with…
nunzio13n
  • 1,195
  • 2
  • 8
  • 9
102
votes
18 answers

Why I can't access remote Jupyter Notebook server?

I have started a Jupyter Notebook server on my centos6.5 server.And jupyter is running like [I 17:40:59.649 NotebookApp] Serving notebooks from local directory: /root [I 17:40:59.649 NotebookApp] 0 active kernels [I 17:40:59.649 NotebookApp] The…
Peng He
  • 1,575
  • 4
  • 15
  • 23