Questions tagged [jupyter]

Jupyter is a collection of environments and protocols for interactive computing. It supports many languages and kernels, and works with frontends including the web application Jupyter Notebook. Jupyter was split from IPython in 2015, and Jupyter Notebook is based on IPython Notebook.

Jupyter is the home of language-agnostic projects that began as part of IPython, such as the IPython Notebook.

Jupyter was split from IPython starting with IPython 4.0 (released August 11, 2015). The parts of IPython which work for any language are now called Jupyter, while the parts specific to executing Python code remain as IPython.

Jupyter projects include:

  • JupyterLab is the next-generation web-based user interface for Project Jupyter
  • Jupyter Notebook (based on IPython notebook)
  • qtconsole
  • Jupyter protocol
  • JupyterHub (multi-user server)
  • See Jupyter Documentation for a comprehensive list of links to each of the repositories for the Jupyter project.

See also

7885 questions
43
votes
2 answers

JupyterLab: How to save a figure from the notebook

I'm trying the new JupyterLab and am having trouble saving figures. Using vanilla Jupyter notebooks, I can two-fingers click (using macOS, Safari or Chrome) and I get a browser menu that allows me to copy or save the figure. In JupyterLab, this…
foglerit
  • 7,792
  • 8
  • 44
  • 64
43
votes
5 answers

Run parts of a ipython notebook in a loop / with different input parameter

I have written a ipython notebook, which analyses a dataset. Now I want to use this code to loop over different datasets. The code is split into about 50 cells (including comments, markdown explanations,...). Is there a way to run parts of a…
Jan Katins
  • 2,219
  • 1
  • 25
  • 35
42
votes
5 answers

ImportError: IProgress not found. Please update jupyter and ipywidgets although it is installed

I am using jupyter notebook and installed. ipywidgets==7.4.2 widgetsnbextension pandas-profiling=='.0.0 and also I ran: !jupyter nbextension enable --py widgetsnbextension but when running: from pandas_profiling import ProfileReport profile =…
Cranjis
  • 1,590
  • 8
  • 31
  • 64
41
votes
2 answers

Block indent jupyter notebook

Does anyone know how to get a command shortcut to work for block indenting and un-indenting in Jupyter notebooks? 
 In the Jupiter notebook command group there is a command “automatically indent selection”. When I put in a command mode control-/ …
wiseass
  • 543
  • 2
  • 5
  • 11
41
votes
3 answers

Jupyter (IPython) notebook: Convert an HTML notebook to ipynb

I have converted a Jupyter/IPython notebook to HTML format and subsequently lost the original ipynb file. Is there a simple way to generate the original notebook file from the converted HTML file?
foglerit
  • 7,792
  • 8
  • 44
  • 64
40
votes
5 answers

How to deploy packed python script on Windows?

This might sound like a very open ended question, but I am a python enthusiast, and pretty new to this world of development. I have developed a python script which takes in an input and gives an output based on the algorithm I have put in place in…
Kshitij Yadav
  • 1,357
  • 1
  • 15
  • 35
40
votes
4 answers

Plot Interactive Decision Tree in Jupyter Notebook

Is there a way to plot a decision tree in a Jupyter Notebook, such that I can interactively explore its nodes? I am thinking about something like this . This is an example from KNIME. I have found…
r0f1
  • 2,717
  • 3
  • 26
  • 39
40
votes
4 answers

IPython Jupyter: uploading folder

Can you upload entire folders in IPython Jupyter? If so, how? I know how to upload individual files, of course, but this can get tedious if there are a large number of files and/or subdirectories.
Sergei Wallace
  • 1,129
  • 4
  • 16
  • 26
40
votes
3 answers

Default template for iPython notebook (using Jupyter)

In the first cell of every iPython (Jupyter) notebook, I almost always type: %matplotlib inline import matplotlib.pyplot as plt import numpy as np Is there a way to make it so that this cell appears at the top of each new notebook I create by…
Bill Cheatham
  • 11,396
  • 17
  • 69
  • 104
38
votes
6 answers

Jupyter lab shortcuts

I've been using Jupyter Notebooks for a couple of years now. I've just headed over to Jupyter Lab, but I've found the lack of shortcuts to be a burden. For example, I noticed that I can search for commands in the left hand palette. But I can't seem…
Daniel Severo
  • 1,768
  • 2
  • 15
  • 22
38
votes
9 answers

Convert ipynb to pdf in Jupyter

I am new to ipython notebook, and I would like to convert my ipynb to pdf. But I get the following error when I try to Download as PDF via LaTex. nbconvert failed: pdflatex not found on PATH There is no documentation anywhere how to add pdflatex to…
Christa
  • 643
  • 2
  • 10
  • 17
38
votes
4 answers

Java kernel for Jupyter

Is there a java kernel for "Jupyter"? I'm using Mac OS El Capitan. I tried https://github.com/Bachmann1234/java9_kernel but to no avail.
leo
  • 1,565
  • 3
  • 11
  • 10
38
votes
10 answers

Merging two noteboooks into one in Jupyter (ipython)

I have two different Jupyter notebooks for two different projects. I would like to merge them to get them both on the same notebook. One way is to copy cells from one to the other one but it seems to be quite a bit of work for projects containing…
dvillaj
  • 780
  • 1
  • 9
  • 8
38
votes
5 answers

jupyter - how to comment out cells?

Is it possible to comment out whole cells in jupyter? I need it for this case: I have a lot of cells, and I want to run all of them, except for a few of them. I like it that my code is organized in different cells, but I don't want to go to each…
nivniv
  • 3,421
  • 5
  • 33
  • 40
37
votes
2 answers

What is the difference between Spyder and Jupyter?

I am learning Python for data science, but my problem is that I still don't understand the difference between Spyder and Jupyter! I would like you guys to help me to understand the difference, please; I would appreciate that.
Amir Boutaghou
  • 545
  • 1
  • 4
  • 6