Questions tagged [jupyter-lab]
JupyterLab is a web application that provides a frontend to many different languages and interactive shells such as IPython. JupyterLab enables you to work with documents and activities such as Jupyter notebooks, text editors, terminals, and custom components. You can arrange documents side by side using tabs and splitters. It supports Markdown, Python, R, LaTeX, images, CSV, JSON, PDF, Vega etc. Use this tag for questions related only to JupyterLab.
jupyter-lab
2,693
questions
0
votes
0
answers
32
views
OverflowError When Setting Up gym_super_mario_bros Environment in Python on JupyterLab
I’ve been following a tutorial on YouTube (https://youtu.be/2eeYqJ0uBKE?si=Vx6gybqKh3ApSfXV) to build a Super Mario AI model using Python. However, when setting up the gym_super_mario_bros environment,...
0
votes
0
answers
21
views
Run collapsed sections in Jupyter Notebook
In Jupyter Notebook (version 7.0.8), is it possible to run all the cells hidden under a specific section, without expanding it?
See the following example
I have selected the header, which is in in ...
0
votes
2
answers
22
views
Micro level changes to Jupyter Lab theme
I know I can change the theme in Jupyter Lab to make it light or dark. And that I can change the background color of a single cell. But I want to make some further micro level changes to the overall ...
0
votes
0
answers
15
views
Jupyter Lab Desktop- how to increase memory limit?
I am trying to run a code in Jupyter lab desktop, but the kernel keeps dying halfway through. I am quite sure that it is due to the application running out of memory since this has happened to me ...
-1
votes
1
answer
21
views
I was installing Jupyter notebook and got a message in Command Prompt maybe something related to file path. Help me fix this please? [duplicate]
"'jupyter' is not recognized as an internal or external command, operable program or batch file."
This is the error message I get whenever I try to run Jupyter notebook.
I earlier got a ...
0
votes
1
answer
30
views
500:Internal server error when opening JupyterLab (4.0.11) via Anaconda (2.6.1)
I have been using JupyterLab w/ Anaconda for a while now and have not run into this issue before, but now when I open JupyterLab (4.0.11) from Anaconda, it throws an error "500 : Internal Server ...
0
votes
0
answers
19
views
When I use Jupyterlab in google chrome to write code, It Raise "SyntaxError: invaild non-printable character U+00A0", but safari has not this problem
When I use Jupyter lab in chrome browser, it always autoadd special character in my code resulting a SyntaxError
SyntaxError: invalid non-printable character U+00A0
When I delete this special ...
0
votes
0
answers
46
views
How to replace a table in pg Admin through Jupyter Notebook?
How to replace a table in pg Admin through Jupyter Notebook?
I used this script Class_yelp.to_postgis("class_yelp4", engine), it runs, but when I want to restart the kernel or run the all ...
0
votes
0
answers
19
views
TypeError when trying to multiply two Qobj in Qutip
I am starting out with learning Qutip and was going through the tutorial and introduction examples on their website. However, I am running into the following Type error when I tried to run a function ...
0
votes
1
answer
33
views
Any tips as to how to use github's repositories in your python code?
I am trying to utilize YOLOv8's software seen on their github, but I don't know how to implant it in jupyter labs.
I am trying to see what lines of code I should implement in python 3.x to get this to ...
1
vote
1
answer
39
views
How can I add custom xtics for a python gnuplotlib plot?
I want to add custom tick labels on the x-axis using the python gnuplotlib.
I have tried (using jupyterlab):
import numpy as np
import gnuplotlib as gp
xtics_positions = [0, 2, 4, 6, 8]
xtics_labels =...
0
votes
0
answers
18
views
bulk convert lon lat coordinates to EPSG 3031 (antarctic) coordinates using python
I am trying to write a code that will bulk convert lon lat coordinates to EPSG 3031 so that I can plot them in the Polar ToolKit through Python. I have lon lat coordinates on an excel sheet. How can ...
0
votes
0
answers
13
views
Cannot use PySpark to fetch data from Postgres in Google Cloud Vertex AI
I cannot get data from Postgres into Jupyter Lab in Vertex AI with PySpark (i guess it fails to load the jdbc file but I don't know how to fix it)
I tried to retrieve some data from Postgresql using ...
3
votes
0
answers
31
views
Using nbconvert to export a jupyterlab notebook to html with toc?
I'm currently using
jupyterlab 4.1.3
nbconvert 7.16.2
and would like to export a notebook to html with toc.
In earlier versions of nbconvert (v5.x.x) I know we could do
jupyter nbconvert --to ...
0
votes
0
answers
28
views
Serving static files with jupyterlab
I create a PDF file in a notebook and save it to disk.
When I try to download it via a link (<a href="{pdf_file}">Click here to download: {pdf_file}</a>) in the notebook I get a ...