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. DO NOT use this tag on questions regarding code which merely happens to be written using Jupyter Notebooks, use the appropriate language tag instead, e.g. [python], [r].

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

24660 questions
8
votes
3 answers

iPython/ Jupyter notebook clear only one line of output

How can I print the status of a Jupyter notebook on the previous line? I think I'm looking for something like clear_output(), but for only a single line. Sample code: from IPython.display import clear_output import time print('This is important…
Casey
  • 475
  • 6
  • 19
8
votes
1 answer

TensorFlow InternalError: Unable to get element as bytes

I am trying to run a DNNClassifier with TensorFlow on some log data that contains a mix of categorical and numeric data. I have created feature columns to specify and bucketize/hash the data for tensorflow. When I run the code I receive the 'Unable…
Prof. Falken
  • 499
  • 6
  • 21
8
votes
4 answers

Jupyter Notebook Ctrl+Shift+- (splitting cell) does not work

Ctrl + Shift + - is supposed to split the cell from where the cursor is, but it just zooms out the window.
user67275
  • 1
  • 9
  • 38
  • 64
8
votes
1 answer

Is there an equivalent for using matplotlib.image in ruby

Been experimenting with using Ruby inside a jupyter notebook. With Python I can do this import matplotlib.image as mpimg Does anyone know the equivalent with Ruby, I have not been able to find it in any of the iRuby or sciruby documentation? To…
Rockwell Rice
  • 3,376
  • 5
  • 33
  • 61
8
votes
1 answer

running "jupyter notebook" in virtualenv returning AttributeError

I installed jupyter using pip in a virtualenv in python3. On running: jupyter notebook I get the following Error File "/ss/bin/jupyter-notebook", line 7, in from notebook.notebookapp import main File…
Utkarsh Mall
  • 324
  • 3
  • 12
8
votes
4 answers

Python package not found in jupyter even after running pip install

I want to use numpy in my Jupyter notebook. However, I came across a weird problem. Despite the fact that: I have a numpy installed in my default python3. From Jupyter I've run a command !pip install numpy and !pip3 install numpy. I restarted my…
Marcin Możejko
  • 39,542
  • 10
  • 109
  • 120
8
votes
2 answers

In FT2Font: Can not load face

I am trying to plot a bar. But it shows Runtime error, and shows In FT2Font: Can not load face. at the Botton. I have tried uninstall and install it again. And tried another method, but still can not work. I think the code is right, because I…
Geraldine Chan
  • 81
  • 1
  • 1
  • 2
8
votes
3 answers

How to freeze a cell alone with its outputs on a jupyter notebook

When using Jupyter notebook, outputs (include error messages) from executing a cell can be useful and so I'd like to freeze the cell alone with its outputs, or in another word, to inactivate the cell in order to keep the output. Is this doable?
H.C.Chen
  • 412
  • 4
  • 14
8
votes
3 answers

Using Widgets in Google Colaboratory

Is it possible to use Jupyter Widgets in Google Colaboratory? I followed the instructions here, both with ipyleaflet and bqplot But I got this error message. Failed to display Jupyter Widget of type Map. If you're reading this message in the…
korakot
  • 37,818
  • 16
  • 123
  • 144
8
votes
1 answer

How to suppress "Build Progress" bar when training an h2o model?

I'm tuning my parameters by testing many models, and I'm fairly annoyed that I can't do much about the "Build Progress" bars that are cluttering up my iPython Notebook. I've skimmed the docs looking for some sort of "verbose" setting to turn off,…
James Kelleher
  • 1,957
  • 3
  • 18
  • 34
8
votes
2 answers

Cannot add python3 kernel to Jupyter

I wanted to change path of the kernel in Jupyter to set it to the one I'm using in the machine. Here is the original kernels that were install in jupyter: jupyter kernelspec list Available kernels: python3 …
Wanderer
  • 1,065
  • 5
  • 18
  • 40
8
votes
5 answers

Way to get jupyter server root directory

Consider following: $ cd /home/mydir $ jupyter notebook --port=8888 In plain English, I am running jupyter server from /home/mydir directory. Is there a simple way to get this directory from within a notebook regardless if it's a R notebook or a…
Matrix Norm
  • 141
  • 1
  • 3
  • 5
8
votes
3 answers

Can I run a pyspark jupyter notebook in cluster deploy mode?

Context: The cluster configuration is as follows: Everything is running withing docker files. node1: spark master node2: jupyter hub (where I run my notebooks as well) node3-7: spark worker nodes I can telnet and ping from my worker nodes to node2…
J Schmidt
  • 618
  • 1
  • 6
  • 19
8
votes
0 answers

Jupyter + Apache Toree Kernel error on Windows 10

I get a kernel error when I am creating a Jupyter notebook with the Apache Toree - Scala kernel. Here is the stack trace: Traceback (most recent call last): File "C:\Users\darie\Anaconda3\lib\site-packages\notebook\base\handlers.py", line 516,…
8
votes
5 answers

Exporting jupyter notebook to pdf with offline plotly graph; missing graphs

I am trying to create pdf export of my lesson plans and I use plotly offline for the graphs. In a MWE below, the plot will display in the Jupyter Notebook but will not show up when I export to pdf. I export using File-->Download as-->PDF via Latex…
jtorca
  • 1,531
  • 2
  • 17
  • 31
1 2 3
99
100