25,083 questions
0 votes
1 answer
29 views
How to run jupyter notebook using docker? [closed]
I try to run jupiter notebook with docker. I run this in my terminal: docker run -it -v $(pwd):/home/optimus/localwork --workdir /home/optimus/localwork -p 8888:8888 optimuslib/optimus:latest I ...
0 votes
0 answers
27 views
I am using JupyterLite to run some python code. And there is a specific cell which is not executing as desired
When I run the cell below, and there is no file with the same name as filename, it executes perfectly. But on subsequent runs, if there exists a file with the same name, the kernel gets busy and ...
0 votes
0 answers
47 views
Rendering matplotlib figure in VSCode (Jupyter) like fig.savefig
Problem When saving a matplotlib figure using fig.savefig(), the figure looks different from when the figure is rendered in a Jupyter Notebook. Question How can I render a static (non-interactive) ...
1 vote
0 answers
67 views
How to download the output folder on Kaggle?
I wrote a notebook on Kaggle and imported a dataset. The main content of the notebook is as follows: %%bash pip install xxx # Install dependencies if [ ! -d "/kaggle/working/latex-ocr-...
0 votes
0 answers
33 views
Dask distributed stores old version of my code
I am analysing some data using dask distributed on a SLURM cluster. I am also using jupyter notebook. I am changing my codebase frequently and running jobs. Recently, a lot of my jobs started to crash....
0 votes
1 answer
131 views
How to modify a Python function to handle one, several, or all parameters in a dictionary
I want to setup an environment in a Jupyter notebook where parameters are stored in a dictionary parValue and where you can change values of one or several parameters with a function par(), while ...
1 vote
0 answers
133 views
Transformers 'could not import module pipeline' to jupyter notebook
I need to to run a series of pre-trained fine-tuned models from Hugging Face to Jupyter notebook. I have updated to the latest version of both PyTorch and Transformers, but when I run the code from ...
0 votes
1 answer
98 views
Slicing pandas dataframe with a value from a Jupyter widget raises an error
In a Jupyter Notebook, I make use of a Jupyter Widget to interact with a function. The widget gives me a dropdown that can cycle through some plots, and its options are retrieved from a dataframe. ...
1 vote
0 answers
73 views
Passing the font-size to Quarto
I'm having a problem passing the font size that I chose within the itables package to be the font size that Quarto will use for that specific table. What I'm doing currently is options.lengthMenu = [5]...
1 vote
0 answers
94 views
Jupyter notebook stuck in [*] for a day
In the Umbrella-sampling gromacs tutorial jupyter notebook, it stuck in running gmx mdrun for a day. Is it supposed to be like this? This is the gromacs tutorial jupyter notebook cell for running gmx ...
0 votes
1 answer
54 views
Jupyter Markdown hyperlink with <style> does not show color
Can someone help explain what is going on, and how to fix it so I don't have too put a <span> in every link. I am actually writing some .md files and using Juypter to display it in its final ...
0 votes
1 answer
70 views
Issue with pygame-ce in the Jupyter Notebook Demo
Every time I run any pygame code in Jupyter Notebook (the online demo) it just crashes, giving an error that I've looked for everywhere, to no avail. I'm using the Pyodide Kernel, which apparently ...
0 votes
0 answers
61 views
Strands Tools not working in Jupyter "Lookup Error:ContextVar name='parent_header'"
I have just tried a lot of things but i can't fix it. I am trying to run a simple strands tool calculator in 3 different jupyter environments and I always get the same error "Error: LookupError ...
3 votes
1 answer
55 views
I would like to know how to configure jupyter notebook to display dot-files in the file browser
I regularly run jupyter notebook for tinkering with python projects (usually related to data analytics). It would be helpful if the jupyter "Home" page (the file system browser window) would ...
2 votes
0 answers
58 views
Python package to compute ekman velocities in the water column from observations? [closed]
Is there any python package to compute ekman velocities in the water column from wind data observations? I have wind direction and velocity on an specific location and I would like to obtain a ...