Category "jupyter-notebook"

ipynb files opening in JSONformat in VSCODE

I am trying to open ipynb files in VSCODE in Ubuntu. But the files are not opening as notebook editor. Instead it is showing as raw json format. can you please

How to reduce the space between the lines in Jupyter Visual Studio Code Output?

I want to reduce the space between the lines when I print something in Jupyter visual studio code output. Current output I would like an output like Jupyter wh

Getting a 400 Response Spotify API Python

I am trying to use requests.get with the Spotify API and I can't figure out why I keep getting a 400 response. I am working in an .ipynb file in Jupyter Lab run

Importing DICOM image path (using MacBook, google collab) but getting [Errno 2] No such file or directory

I'm having trouble reading the file path that contains a DICOM image. I'm familiar with retrieving a file path on Windows and reading it but I'm currently using

jupyter notebook resource management in vscode

I have some .ipynb file and open these files in vscode but my vscode taking a lot of resources so i should reopen my vscode again and again.

Python subprocess line 1420 FileNotFoundError: [WinError 2] The system cannot find the file specified. Jupyter-Matlab notebook

I want to use Jupyter-matlab notebooks. I've downloaded Anaconda navigator and followed the steps from this web: http://jmlilly.net/jupyter-matlab Unfortunately

Type error for a column that exists within the dataframe I am trying to call

Essentially, I am getting a key error in my jupyter notebook when trying to merge two data frames. As I understand it, a key error will only occur if said colum

Importing cantera (package) in google colab not working

I am not able to solve the following problem: For my research I would like to use a Google Colab notebook to perform my data analysis. To this end I need a pack

jupyter contrib nbextension install gives Jupyter command `jupyter-contrib` not found

Trying to (re)install Jupyter's nbextension via the following steps in terminal pip install jupyter_contrib_nbextensions jupyter contrib nbextension install --u

Hello!, there is a package I need to download

exempi is a package for Linux and I am a Windows user, until now no windows releases have been made but I need it, so my Question is can I install it on windows

import in jupyter notebook to use a method from another file

I am using jupyter notebook. I have 3 jupyter source files written in python in a folder in the same directory: parser, preprocess, and temp. I am trying to imp

Jupyter : [WinError 267] The directory name is invalid

I got the error while running a code: [WinError 267] The directory name is invalid: 'E:\\PlantVillage/Pepper__bell___Bacterial_spot/0022d6b7-d47c-4ee2-ae9a-392a

Customizing FloatText or Label widget in iywidgets

can someone please tell how to customize appearance of the FloatText or Label widget in ipywidgets. I am using Jupyter notebook. I know of 'layout', but it dose

Python Notebook Create and Display GIF Without Saving to File

In Jupyter Notebook, you can have an image from a Numpy array and show it without having to save it, like so: from PIL import Image import numpy as np array =

Is there a way to obtain the same LaTeX output as one gets in Jupyter, but in Visual Studio?

For some unbeknownst reason which I have not been able to identify, and I already proposed in the form of my first programming question, I can not get the resul

Databricks dbfs file read issue

I am trying to open a file that i uploaded to the dbfs location. However, I get error while trying to open the file but I can see the file when I do a ls. Also

How to fix this error while using pandas profiling in jupyter notebook

Everytime I use pandas profiling in different data sets, notebook shows me this error. IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (No

Jupyter Notebook: Access to the file was denied

I'm trying to run a Jupyter notebook on Ubuntu 21.10. I've installed python, jupyter notebook, and all the various prerequisites. I added export PATH=$PATH:~/.l

Anaconda-Jupyter Doesn't open in Firefox

I have just installed Ubuntu 22.04 TLS from 20.04. On Ubuntu 20.04 anaconda and jupyter work very well. But since I'm on Ubuntu 22.04, I can't open jupyter in m

Pyspark Py4JJavaError while creating the delta-table

Here is the pyspark code which is running on jupyter notebook. import pyspark from delta import * builder = pyspark.sql.SparkSession.builder.appName("MyApp") \