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
1 answer

How to write table on Juliabox?

I define a DataFrame named data and want to write it into .csv file. I used writetable("result_data.csv", data) but it doesn't work. This is the dataframe error details
cyy DEXTER
  • 41
  • 3
3
votes
2 answers

reading ipynb file into python

def request_sender(i): request to the database with api calls dict1 = {"file1":"id1,id2,id3", "file2":"id4,id5,id6"} for i in dict1.keys(): for j in dict1[i]: request_sender(i) currently my script automatically run…
3
votes
2 answers

How do I keep the file name of an image when resizing it and saving it to another folder?

I'm in an introductory neural networking class so mind my ignorance. Also my first SO post. I'm trying to resize some very highly resolved images within a dataset into 80x80p grayscale images in a new dataset. However, when I do this, I'd like to…
qiki
  • 41
  • 3
3
votes
1 answer

How do I stop a bokeh server / app started by panel in my jupyter lab or notebook? (without killing my kernel)

I've created an interactive app in my jupyter lab and called .show() on my panel object, so it started a bokeh server, as in the example below. It looks nice, but now I want to stop the server. How do I do that without stopping jupyter notebook or…
Sander van den Oord
  • 10,986
  • 5
  • 51
  • 96
3
votes
1 answer

How to get the same look of table when generating pdf from jupyter notebook?

I have a jupyter notebook python based where I have dataframe output shown- it is 5 columns size. It looks fine in notebook but when I generate pdf using nbconvert command it is being split and only two columns are shown at once I use custom…
AHR
  • 99
  • 8
3
votes
1 answer

How to create sparkmagic session automatically (without having to manually interact with widget user-interface)?

I am using sparkmagic to connect Jupyter notebooks to a remote spark cluster via Livy. The way it is now, I need to execute a notebook cell to bring up the %manage_spark user-interface widget, and manually select the language and click…
conner.xyz
  • 6,273
  • 8
  • 39
  • 65
3
votes
1 answer

jupyter kernelspec no such file or directory /lib/libstdc++.so.6.0.21

I'm trying to flesh out the workflow for a JupyterHub server in the case where a user creates an environment and wants to share it with another user. I want to test out one of the two methods. I am trying to create an environment in a public path,…
Nick Brady
  • 6,084
  • 1
  • 46
  • 71
3
votes
1 answer

Global line numbers in Jupyter Notebook

In Jupyter Notebook I can toggle line numbers by pressing Shift+L in command mode. However this displays line numbers that start from 1 within each cell. Is there a way to instead display global line numbers, that is, that count from 1 at the…
jamesoh
  • 372
  • 1
  • 10
3
votes
1 answer

Extract a column's data into a variable

I've got a very large dataframe where one of the columns is a dictionary itself. (let's say column 12). In that dictionary is a part of a hyperlink, which I want to get. In Jupyter, I want to display a table where I have column 0 and 2, as well as…
Christopher Pisz
  • 3,757
  • 4
  • 29
  • 65
3
votes
1 answer

Display pandas dataframe using custom style inside function in IPython

In a jupyter notebook, I have a function which prepares the input features and targets matrices for a tensorflow model. Inside this function, I would like to display a correlation matrix with a background gradient to better see the strongly…
David
  • 513
  • 7
  • 26
3
votes
1 answer

How to read file from Kaggle in Jupyter Notebook in Microsoft Azure?

I am using Jupyter Notebook in Microsoft Azure. Since I cannot upload big files in Azure, I need to read it from a link. The csv file I want to read is in Kaggle. I did this: !pip install kaggle import os os.environ['KAGGLE_USERNAME'] =…
Yana
  • 785
  • 8
  • 23
3
votes
0 answers

How can I concat envvars in Jupyter notebooks using %env

Is there any strategy for combining two or more envvars without having to use Python code? I'm trying to do something like this. %env INFLUXDB_VERSION 1.7.7 %env INFLUXDB_PATH=influxdb-${INFLUXDB_VERSION} The strategy below works, but it has a cell…
3
votes
3 answers

Is there a way to toggle cell output in Jupyter Lab?

In Jupyter Notebook you can toggle the cell output by going into command mode and pressing "O". This command does not work on Jupyter Lab, and I don't see an option to add it. Is there a way to do this, even if it means writing the code for the…
Anton Peraire
  • 31
  • 1
  • 2
3
votes
1 answer

SSL error running Jupyter Notebook on Google Cloud VM

I've set up an instance on a GCP virtual machine and have installed anaconda, torch, etc. and have initialized my Jupyter notebooks (including the config setup). I've mounted my Google storage bucket and everything seems to be okay, except that when…
3
votes
1 answer

Jupyter does not show the list of available method properties for an api

When I type an variable (object) name then a dot and tab key, the list of available method properties for this object(api) is supposed to show up. this feature works well before and is not working now. I am sure the libraries have been imported.…
user10443608