Category "jupyter-notebook"

Convert raw Ipython Notebook txt to Ipynb

I have a textfile containing the source code for an Ipython Notebook. How can I convert this file using Ipython / Python to an Ipython Notebook? e.g. : sourc

Error 502 (Bad Gateway) when accessing Jupyter Notebook from Google Deep Learning VM

I have recently quoted a Deep Learning VM from Google Cloud. DLVM provides a link to the jupyter notebook of our VM, but when I paste the link to the browser, i

On zipfile read of shapefile from URL, fault for initial value not str

Using Python 3.5, following example for reading shapefile zipfile from URL and updating for P3.5. Code is below. I've looked at other cases and attempted to a

Interactive labeling of images in jupyter notebook

I have a list of pictures: pictures = {im1,im2,im3,im4,im5,im6} Where im1: im2: im3: im4: im5: im6: I want to assign the pictures to labels (1,

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 be

`java` command is not found from this Python process. Please ensure Java is installed and PATH is set for `java`

I don't know how to fix this error when I'm trying to run the following code: df = wrapper.read_pdf(r'C:\End_to_End\1902\PN\Scenario1_AllCorrectMin\EPR.pdf

`java` command is not found from this Python process. Please ensure Java is installed and PATH is set for `java`

I don't know how to fix this error when I'm trying to run the following code: df = wrapper.read_pdf(r'C:\End_to_End\1902\PN\Scenario1_AllCorrectMin\EPR.pdf

Jupiter notebook and BeautifulSoup4 installation

I have installed BeautifulSoup both using pip install beautifulsoup4pip install and using conda install -c anaconda beautifulsoup4 and also tried to install it

Format a Jupyter notebook on save in VSCode

I normally use black to automatically format all of my Python code whenever I save in VSCode. I'd like the same functionality, but within a Jupyter notebook in

Remove question mark and Enter/Exit Button in RISE (Jupyter Notebook)

When using RISE in Jupyter Notebook, is there any possible way to not display the question mark (lower left corner) and the Exit/ Enter Button (upper left corne

Jupyter Notebook: Hide / fold a paragraph of text as "hints"

I am using a Jupyter Notebook for an interactive coding demonstration. There is an exercises block where the user should enter their own code to try and solve a

In PyCharm how do I remove the outputs of my Jupyter Notebook when running from the IDE?

If I run a piece of python code in from a cell in my IPython NoteBook, the output is displayed in my IDE below the selected cell. I want to remove this output (

Jupyter conda tab 'An error occurred while retrieving package information.'

In my root environment I run $ jupyter notebook and in the browser, click on the 'Conda' tab. This always used to list my conda environments and the packages

Can't I simply copy and paste a program from a Jupyter notebook to a file.py?

It's weird, I wrote a functioning program on a Jupyter notebook and I wanted to have it in a normal python file with VSCode aswell. However, while copying and p

Keras model - high accuracy on natively executed code, fails to learn in colab

I am doing classification of citrus leaves dataset. I came up with a very basic model and ran it in Jupyter notebook on my machine, using anaconda. Exact same m

Dask-SLURMCluster: [Errno 104] Connection reset by peer

I'm running into a problem using a Xarray together with SLURMcluster from Dask. I'm using pandas_plink to load some data into a Xarray, then filtering it and ma

Python & Matplotlib: Make 3D plot interactive in Jupyter Notebook

I use Jupyter Notebook to make analysis of datasets. There are a lot of plots in the notebook, and some of them are 3d plots. I'm wondering if it is possible t

Import Image from Google Drive to Google Colab

I have mounted my Google drive to my colab notebook: from google.colab import drive drive.mount("/content/gdrive") I can import csv files through it, in my cas

Run py file with variable name in jupyter notebook

I am using %run to run a py file from inside a jupyter notebook, but I don't want to edit every time the name of the py file name changes. Is there a way to use

How to wrap code/text in Jupyter notebooks

I am using jupyter-notebooks for python coding. Is there a way to wrap text/code in a jupyter notebook code cell? Picture provided below. By wrap text mea