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.
0
votes
0
answers
9
views
I am developing a custom JupyterLab extension and I need to get active/focused notebook's full path on a button click.
I already have the button and the click registered. I wanted to get the path from ...
0
votes
0
answers
11
views
Jupyter Lab is not working.
I open the terminal from a Mac and run:
MBPdiAlessandro:~ alessandro$ jupyter-lab
Then Jupyter opens through Safari.
I close all the active kernels.
I make a new Python 3 ...
0
votes
0
answers
8
views
I would like to be able to change colors with css variables so that when other parts of my React code changes that css variable dynamically, it should reflect the change inside of plotly frame as well....
0
votes
0
answers
6
views
Currently, I am on Macbook pro M2 pro system. I want to set my jupyter notebook runtime on GPU cores rather than CPU cores. Since, I am working on ML Projects (using scikit-learn). ANy ides how to set ...
My team is trying to cut our cloud cost budget via shutting down all kernels, open terminals inside Jupyterlab. This can be easily done by navigating to the open kernels section, then clicking Shut ...
0
votes
0
answers
42
views
I have a cell in a pretty long jupyter notebook that has an output that includes text (through print statements) as well as 3D scatter plots made with plotly (a python plotting library). The text and ...
0
votes
0
answers
26
views
I would like to make a widget in jupyter lab with a plotly go figure.
I started by copying this example: https://plotly.com/python/figurewidget-app/?_ga=2.180976559.943274886.1701077393-1452099185....
The following code in a script works as expected,
from sympy import *
x = symbols('x')
p = plot(x, x*(1-x), (x, 0, 1))
ax = p._backend.ax[0]
ax.set_yticks((0, .05, .25))
p._backend.fig.savefig('...
0
votes
0
answers
9
views
I have been trying to access an database from couchDB through jupyter that can be visualized in JupyterLab. I have tried looking for solution but the data is not being displayed.
I have tried the ...
I have successfully managed to run a Jupyter Lab on ECS by using Terraform.
I want to protect the setup by using a password stored in AWS secrets manager.
The point is that the parameter NotebookApp....
0
votes
1
answer
23
views
Learn Data Sci: Pandas A Complete Tutorial
I am following this tutorial to learn some basic Python for data analysis and I'm starting to realize it may be dated. There is a section where it copies and ...
1
vote
0
answers
56
views
I'm trying to create a Vertex AI notebook using a Custom Container to train my torch model on GCP. I wasn't able to correctly generate a notebook using this custom container and I can't understand why....
0
votes
0
answers
16
views
I need to read a .pkl file in JupyterLab. The code I have is:
import dill
# Loading scplus_obj
scplus_obj = dill.load(open('/path-to-my-file/scplus_obj.pkl', 'rb'))
The error get is :
--------------...
0
votes
0
answers
24
views
I have created an instance using deeplearning VM image. And established SSH, but while accessing the jupyter lab (using Google SDK CLI locally) at the localhost:8080 it returns an error
bind [127.0.0....
0
votes
0
answers
12
views
I'm working on some pretty long Jupyter Notebook files. I'm keeping them organised with markdown headings and I'm using the NBextension 'Collapsible Headings' to only open the code I want to see in a ...
1
vote
0
answers
24
views
I've been exploring different ways to listen for text changes in a notebook cell within JupyterLab. My current approach involves using INotebookTracker's activeCellChanged and currentChanged events to ...
0
votes
0
answers
8
views
I made a pythonscript that opens an excel file and loads it into a df.
Running the script in Jupyterlab gives memory issues. Problem was in the amount of columns in the original excel file. I made an ...
0
votes
0
answers
46
views
I want to interactively edit a large dataframe, by also interactively subsetting to batches of rows. I am trying this with the Python package panel and its Tabulator class in a jupyter lab notebook. ...
0
votes
1
answer
20
views
https://github.com/jupyterlab/extension-template
I want to be able to run python code from this extension. how can i do that? please show me. thanks
0
votes
1
answer
31
views
I have a problem with a LinearGAM fit function. I use the below code to perform fit operation on the data I have in a DataFrame.
scaled = scaler.transform(data)
X2 = scaled[:,:-1]
y2 = scaled[:,-1]
...
My basic understanding is that jedi was an old method to do autocompletion / hints.
The new method is LSP, and we can use an LSP server with jupyterlab through jupyterlab-lsp.
One such LSP server for ...
0
votes
0
answers
18
views
After turning on the code completion in Jupyter Lab, I find myself constantly hitting the Escape key to swat away the constant stream of completely useless suggestions being made. This is an example, ...
2
votes
1
answer
51
views
I am running conda via a standard miniconda3 installation on Ubuntu 20.04. I need a Python 3.7 environment and have the following simplified conda environment file (test_env.yaml):
name: test-env
...
0
votes
2
answers
59
views
I wrote a for-loop to solve for a bunch of angles. I have all the results stored in a NumPy array of dictionaries. But I want all the answers in degrees (not radians) and rounded. It is basic but I am ...
I have just installed Jupyter Lab via pip install. It works well until I installed "jupyter-markdown" extension via pip install jupyter-markdown.
Now I cannot load Jupyter Lab. I get the ...
0
votes
1
answer
40
views
I am trying to solve a system of two equations for two unknowns. Jupyter ran indefinitely in the attempt to solve these equations.
My code:
import numpy as np
import sympy as smp
#Enable LaTex display
...
0
votes
1
answer
26
views
Does anyone know an easy way to have SymPy display the solution with a LaTex format? The solution is going into a report, and I do not want to have to retype the whole thing. The equations are ...
0
votes
1
answer
29
views
I implemented JupyterHub using a Helm chart on a local Kubernetes cluster on VMware virtual machines. I want to cull users after they have been inactive for a while, but it seems not to work.
This ...
0
votes
0
answers
23
views
I have used the following GitHub link for jupyterhub installation:https://github.com/bitnami/charts/tree/main/bitnami/jupyterhub
My problem is while user tries to log in jupyterhub it will create PVC ...
I am having difficulty installing the pandas_csv_sniffer Python package with the current versions of pandas, Python, conda, and pip.
(This package provides a helpful jupyter notebook GUI for finding ...
0
votes
1
answer
67
views
I just installed Jupyter Lab and I got this warning about the PATH. This directory is very messy - C:\Users\USERNAME\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\...
0
votes
0
answers
19
views
I get the map I want as a layer but I do not know how to extract the SAME map geolocalized. I only managed to create a html file but it is not really useful.
dataset is a imagecollection
m.add_layer(...
I have set up Apache Sedona in Amazon EMR cluster based on https://sedona.apache.org/1.5.0/setup/emr/
I attached the EMR cluster to the JupyterLab in the Amazon EMR.
First I set up config to allow me ...
0
votes
0
answers
33
views
I am running an analysis on a large number of rasters with Dask in a Jupyter Lab notebook on a Windows computer. When I run my analysis using Coiled (cloud cluster), the analysis runs fine. However, ...
2
votes
0
answers
43
views
I'm trying to run:
!pip install -U pip setuptools wheel
!pip install -U spacy
!python -m spacy download en_core_web_sm #English model optimized for CPU
So when I try to run the cell below, it does ...
0
votes
0
answers
109
views
could not build wheels for pyzmq, which is required to install pyproject.toml-based projects.
Things I found on internet didn't help (such as pip install pyzmq==23.2.1)
To reproduce: follow ...
0
votes
0
answers
8
views
I want to have for example a React widget that is both in python and js side and can be modified from both side.
I also want to be able to run commands from python side that are declared in js side ...
2
votes
1
answer
24
views
I try to print out the 2 matrix objects with aligned using the Latex object, but adding \\ does not work as expected. What am I doing wrong?
from IPython.display import display, Math,Latex
s = r&...
0
votes
0
answers
40
views
When installing new jupyterlab extensions or widgets, a common error displayed is:
Error displaying widget: model not found.
The console displayed cryptic error messages such as:
Could not instantiate ...
0
votes
0
answers
19
views
the problem is modern native CSS supports nesting rules in browsers. But it doesn't work on jupyterlab or jupyter notebooks and I dont know why. Nested css is included in bundled code, still not ...
0
votes
0
answers
33
views
I'm currently working as a data analyst for a healthcare company, the DataLake infrastructure is in SQL Server and I'm currently trying to analyze the current state of all the databases in a Jupyter ...
Hello I want to say right away that I have been using docker-compose and nginx for not so long, sorry if you'll see some mistakes from my own. M
I am facing with problem with nginx settings and can't ...
0
votes
0
answers
11
views
I just start running GCP JupyterLab. The website keeps frozen when loading or running some Jupyter notebook. Sometimes I got message which asked me to wait or exit. Sometimes, I got crashed website. I ...
0
votes
0
answers
28
views
I have some code in Jupyter Lab which contains the 'infinity' symbol, coded as it would be in LaTeX. This symbol appears both in markdown and in printed text coming out of an ipywidgets slider ...
0
votes
0
answers
16
views
I'm planning to create a custom Jupyter kernel which runs external daemon app(Verum Dezyne) and displays stuff at localhost/xxx0-xxx4 within the notebook cells.
Looks like THIS
I managed to create a ...
0
votes
0
answers
76
views
I am trying to open jupyter lab on my macOS 12.5 and using terminal shell bash, but I receive the following error:
from rpds import HashTrieMap, HashTrieSet, List
ImportError: cannot import name '...
0
votes
0
answers
22
views
Is there an efficient way to open a notebook that is outside of the working directory tree? I can open a terminal in JupyterLab and cd to my desired location of course. How then do I open my desired ...
0
votes
1
answer
22
views
Is there a method to make here-map-widget-for-jupyter function in the most recent Python environment?
The command pip install here-map-widget-for-jupyter installs without issues, but the widget isn't ...
0
votes
0
answers
12
views
I have some python calculations which are being done and all the data is being stored as possibly a json or a string object.
I would like to create a custom renderer for this, such that it reads this ...
1
vote
0
answers
66
views
I have a shiny rmd file which is working in the RStudio IDE. However, I have to include it as part of a pipeline so I have to run it through Jupyterlab.
I have the runtime: shiny at the start of my ...