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.

2575 questions
0
votes
2 answers

Jupyter-lab visualisation problem (Linegraph creates non-understandable lines)

I want to create two seperate lines which shows stock prices and sentiment scores. This my code: import matplotlib.pyplot as plt # Create a figure and axis fig, ax = plt.subplots(figsize=(10, 6)) # Plot stock prices ax.plot(tsla['Date'],…
0
votes
0 answers

JupyterLab classic UX not Vertex Ai

I created Notebook vm_image_family = "common-cpu-debian-11-py310" and got Classic interface JupyterLab. Apachaika_0-1688678537867.png I saw a lot of guides and official docs with the Vertex Ai interface JupyterLab. I rebuilt a lot of time Notebook…
0
votes
0 answers

time limit when executing a cell (JupyterLab)

I’m new to programming (unless some fortran coding in 1990s counts), totally new to Python and I came in via Google Colab, where I ran into crashes when using large input files. So I got a new laptop (HP Zbook), and now use Anaconda & Jupyterlab…
0
votes
0 answers

What does "UFuncTypeError: ufunc 'less_equal' did not contain a loop with signature matching types" mean?

I've perused some similar questions regarding UFuncTypeError but can't use that information to deduce what is wrong with my code in particular. Here's my code: UFuncTypeError Traceback (most recent call last) Cell In[6],…
Justin
  • 1
0
votes
1 answer

connecting streamlit with jupyter lab notebook

i have my jupyter notebook in jupyter lab which hosted on a server. I want to connect to my notebook and extract result to my ui which is in streamlit all my code is in small functions and then there is a main function which return the final results…
0
votes
0 answers

JupyterLab warning: "Could not determine npm prefix: [WinError 2] The system cannot find the file specified"

I have the following error while starting JupyterLab (on Windows 10 x64): [W 2023-07-02 06:52:30.881 ServerApp] Could not determine npm prefix: [WinError 2] The system cannot find the file specified What does it mean and how to fix it? I already…
EliiO
  • 21
  • 5
0
votes
0 answers

How to stop Jupyterlab 4.0.1 from truncating a pandas multiindex output?

I have a system generated Excel dataset that is created with a poorly defined multilevel header. I am trying to clean up the header by using a multiIndex from Pandas. My multiIndex has 480x tuples with 4 elements (levels) in each tuple. I want to…
DTM
  • 1
  • 2
0
votes
1 answer

Problems installing PyPy and IPyKernel

So first a bit of context... I'm trying to set up a JupyterLab environment where I can (reasonably seamlessly) change between Python kernels to assess code performance. Target kernels would be standard CPython (Python 3 - mainly latest versions) and…
docf
  • 11
  • 3
0
votes
0 answers

Docker Container Jupyterlab file save consumes all memory, does not write

I am running Docker on Mac OS. I have a container in which I run Jupyterlab. A notebook in Jupyterlab has to save some files. Small files are saved with no problem but large files ~3GB are a problem. I have set Docker resources to 20GB RAM and…
MikeB2019x
  • 823
  • 8
  • 23
0
votes
0 answers

Make discription of a ipywidgets button equal to the key of the dictionary where it is defined

I want to create a series of ipywidgets togglebuttons to control boolean values. I defined the buttons as dictionary item values and I want to make the description of the buttons the same as the dictionary key. What I did is create the dictionary…
mrpraline
  • 111
  • 1
  • 3
0
votes
0 answers

How can I change code colors in Jupyter-lab installed with pip?

How can I change the colors of code instructions in Jupyterlab installed with pip? For Anaconda I do it through the index.css file but for Jupyterlab installed with pip I don't know how to customize the code colors. For example, changing the green…
Berg A.
  • 1
  • 1
0
votes
0 answers

How can I disable/grey-out a menu tab dropdown in a jupyterlab extension?

I am building a jupyter lab extension that adds a new tab to the main menu with a dropdown. I want to set a boolean to determine when certain options in the dropdown are greyed-out/disabled. I tried adding "disabled":true in the plugin.json file…
ssnyc
  • 11
  • 2
0
votes
0 answers

Issue with JupyterLab: Unexpected Behavior with Keyboard Shortcuts and "Click to Add a Cell" Button

I've been encountering an issue while working with JupyterLab that I'm hoping someone might be able to help me resolve. When I press the j key repeatedly, the Click to add a cell button appears unexpectedly. Following the appearance of this button,…
Azriel 1rf
  • 147
  • 11
0
votes
0 answers

Jupyterlab Kernel Restarting when running pytorch-related codes. Error "The kernel appears to have died. It will restart automatically."

System: Windows with Jupyterlab in Anaconda I am running an imaging annotation cnn in Jupyterlab from Anaconda. Everything worked fine until yesterday I ran the same code, and the kernel shows "Kernel Restarting The kernel for address/Unet.ipynb…
0
votes
0 answers

Integrating Jupyter Notebook Workspace on a Website and Granting User Code Spaces

I would like to integrate a Jupyter Notebook workspace into my website, allowing my users to have their own code spaces and collaborate. How can I achieve this and grant permission for users to have their individual code spaces? Specifically, I'm…