Skip to content

Tag: jupyter-lab

Checking progress of an ongoing for loop in JupyterLab

I have been running a for loop for 4 days now. I understand that there are better ways to do it, but I needed to run it just once. Is there a way to check the progress without interrupting the loop? I’m terrified to loose all of my progress. This is my code Answer Given the information from your comment…

Unable to determine R library path

I am new to R. I am running Jupyter Lab on a Windows 11 machine, and have created a virtual environment where I installed some packages and irkernel. I get the following message when I execute %load_ext rpy2.ipython: Here is my complete code: Apart from the environment variables, the above code comes from Dav…

Altair combine two charts

I am trying to plot/combine two charts on Altair, but only one of the chart is actually showing with the expected data. The second chart doesn’t show. The second chart is blank Code below: Image below: Answer If life is referring to life expectancy, the reason you don’t see the lines is the lower …

How to navigate to different directory in Jupyter Lab?

I tried the answers in How to navigate to a different directory in Jupyter Notebook?, but they didn’t work for various reasons: Some answers are “how to permanently change your Jupyter start-up folder” which I don’t want to do. I already did this, I set my start-up folder and I like it…