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
3
votes
0 answers

Source files in a certain directory unable to process "pd.read_csv" and upload any data files

Source file is unable to upload data using "pd.read_csv" when in a certain directory, whether it's using a Python IDE (Pycharm) or a Jupyter notebook. If I create a source file outside of it, and point it to whatever data I want to upload (whether…
exlo
  • 315
  • 1
  • 8
  • 20
3
votes
0 answers

retrieve the fields we are interested in and write to a result file the fields + count result using scala spark

I need to import a CSV file that contains several fields, I must later loop on some fields that interest us to recover the data contained in it. In the file there is a field named query that contains SQL queries that must be executed and store in…
dkh
  • 51
  • 2
3
votes
1 answer

ipywidgets compatible with Jupyter Lab version 1.0+?

I want to use the pre-release Jupyter Lab version 1.0+. I have a Pipfile that looks like this: [[source]] name = "pypi" url = "https://pypi.org/simple" verify_ssl = true [packages] ipywidgets = "*" jupyterlab =…
Dustin Michels
  • 2,951
  • 2
  • 19
  • 31
3
votes
4 answers

How to fix 'The kernel appears to have died. It will restart automatically" caused by pytorch

I have a strange problem with Pytorch. When I use torch functions with tensors like tensor.reshape or torch.transpose, I don't have any problems; even when I created networks, it's ok. However, when I want to train network my jupyter crashed. I…
Elvar G
  • 47
  • 1
  • 1
  • 4
3
votes
1 answer

Jupyter: Keyboard shortcut to move to the first cell of python notebook

Is there a keyboard shortcut or function to view the top cell of the notebook. At the moment I can only find a functionality to scroll the selected cell to top, if so how can I select the top cell without scrolling up?
Stephen Jacob
  • 889
  • 1
  • 15
  • 33
3
votes
2 answers

How to fix KeyError when assigning regions to states in a dictionary

I am assigning regions to each individual state. My code reads from an excel file, and there are about 30k rows. I set up a dictionary assigning each state to a region as well as state abbreviations to each state name. I am trying to create a column…
3
votes
1 answer

`jupyter kernelspec list` command doesn't find all kernels

I am trying to follow this post to change the name of my kernels in Jupyter to make more sense, however jupyter kernelspec list doesn't find all the kernels. (base) bash-3.2$ which python /Users/benjamin/anaconda3/bin/python (base) bash-3.2$ which…
Bn.F76
  • 783
  • 2
  • 12
  • 30
3
votes
1 answer

Import tensorflow in Anaconda2: undefined symbol

This morning I am trying to install tensorflow on Anaconda3 (python version 3.5 & Ubuntu 16.04). I installed tensorflow with conda install tensorflow. However, it does not work well when importing it python/jupyter notebook. Python 3.5.6 |Anaconda,…
Simon
  • 703
  • 2
  • 8
  • 19
3
votes
0 answers

jupyter cell excecution hangs and throws exception when used with show method or count

I am running some pyspark code locally on jupyter hub. my system RAM is 32 GB. Whenever I use show() or count() method after certain operations(say join or union or other) my kernel gets hanged or dies or sometimes it throws exception. But without…
Tilo
  • 409
  • 1
  • 5
  • 14
3
votes
0 answers

Jupyterlab browser crash using plotly

I recently start using plotly with Juptyter-lab. One of the issue I am facing is Jupyterlab slows down when creating 2 heatmap plots each sizes around 30Mb. Especially if in jupyterlab I decide to make “Create new output view” I can not do anything…
mtkilic
  • 1,213
  • 1
  • 12
  • 28
3
votes
1 answer

How do I resolve persistentvolumeclaims "hub-db-dir" is forbidden error while deploying jupyter hub on kubernetes?

I want to deploy jupyter notebook on a kubernetes cluster. Following the official documentation(https://zero-to-jupyterhub.readthedocs.io/en/latest/setup-jupyterhub.html), I ran the following command: # Suggested values: advanced users of Kubernetes…
Aviral Srivastava
  • 4,058
  • 8
  • 29
  • 81
3
votes
0 answers

Jupyter notebooks mathjax inline symbols overlap with text

I am running Jupyter notebook with ipykernel (v5.1.0) in Mozilla Firefox (66.0.3) but I've seen this occurring in Chrome as well. I'm on Windows 10, 64bit, if that information is relevant. When rendering mathjax on an existing notebook, it often…
ksgj1
  • 394
  • 2
  • 12
3
votes
1 answer

What is the keyboard shortcut for changing a markup cell to a code cell?

I can change a code cell to markdown by pressing Esc then m. But how do I change it back to a code cell using the keyboard?
quant
  • 21,507
  • 32
  • 115
  • 211
3
votes
3 answers

PermissionError: [Errno 13] Permission denied: Cannot open Jupyter on Browser despite running correctly on AWS EC2 instance

I have already set up an EC2 instance on AWS (ubuntu, eu-central-1b). Port 8888 (custom tcp rule), https 443 and ssh 22 is open on AWS (anywhere). I'm aware of the chmod 400 key.pem and jupyter_notebook_config.py topics. It is also sucessfully set…
3
votes
1 answer

3D surface plot of colorspace in python

My computer setup is Mac Mojave 10.14.4. I am new to Python so I am using Jupyter Lab so that I can understand what each part is producing so please can you respond similarly. I want to produce a 3d surface plot of a digitally printed fabric sample…
Krackle
  • 363
  • 1
  • 3
  • 9