Category "jupyter"

Randomness between Jupyter Kernel Restarts

Problem: I am currently working on clustering of data and found a weird behavior in my Jupyter Notebooks. All seeds are fixed. Executing some or all code multip

Resize IPython.display.Audio bar

Is there a way to resize the audio display bar in jupyter notebooks? For example, if I wanted the bar to be twice the width of its default. This would help scru

What does the % in load_ext mean in python

There is a lot of discussion of %load_ext magic in Python (e.g. here https://ipython.readthedocs.io/en/stable/config/extensions/index.html) One thing that has a

New conda environments no longer being recognised in Jupyter Notebook

Whenever I have previously run Jupyter notebooks from within an activated conda environment, the environment is available within Jupyter. However, now when I do

Using jupyter R kernel with visual studio code

For python jupyter notebooks I am currently using VSCode python extension. However I cannot find any way to use alternative kernels. I am interested in jupyter

Import of transformers package throwing value_error

I have successfully installed transformers package in my Jupyter Notebook from Anaconda administrator console using the command 'conda install -c conda-forge tr

Can VSCode interact with the kernel of current Jupyter notebook?

In VSCode, a script with: #%% a = 3 creates a Jupyter cell. Running the cell starts Jupyter server and evaluates the code in Python Interactive window. I wo

Liquid::SyntaxError with Plotly in Markdown files using Jekyll

Trying to convert an .ipynb notebook to Markdown that contains Plotly charts for use in a Jekyll site (hosted on GitHub Pages). I'm running into this error: Liq

How can I draw a line in a python plot indicating 1 standard deviation?

I have a plot from a data frame, I want to to draw a line indicating one standard deviation from the mean like in the picture below. I know how to add text in

How to login to bash with current user, and the user's .bashrc file, in jupyterlab?

I have a configuration file setup in .bashrc which I would like to apply to all terminals opened automatically in my jupyterlab. Currently jupyterlab terminal

Visual Studio Code does not detect Virtual Environments

Visual Studio Code does not detect virtual environments. I run vscode in the folder where the venv folder is located, when I try to select the kernel in vscode

Bash script to send commands to remote ssh session

Is it possible to write a bash script that opens a remote node (i.e. through ssh and/or slurm) and starts an interactive session there after running some comman

LaTeX error related to tcolorbox.sty not found

I have a problem with LaTeX whenever I try to download the file in PDF. When I try to do that, it gives me the following error: ! LaTeX Error: File `tcolorbox

LaTeX error related to tcolorbox.sty not found

I have a problem with LaTeX whenever I try to download the file in PDF. When I try to do that, it gives me the following error: ! LaTeX Error: File `tcolorbox

How to open a .tsv file in Jupyter? Jupyter.Notebook tried suggestions, but it doesn't work

How can I open a .tsv file in Jupyter. The data is stored under C:/User/anna/. This is my code: import pandas as pd df=pd.read_csv('C:/User/anna/train') Bu

Python warnings.warn() not returning anything

I'm using warnings.warn(), together with a print, but the warnings are not returned: if[1!=2]: print('Error') warnings.warn('Warning!') #returns: Erro

How to use Jupyter notebooks in a conda environment?

Typically one runs jupyter notebook or jupyter-notebook or ipython notebook in a terminal to start a Jupyter notebook webserver locally (and open the URL in the

How to solve Application launch error(Exit Code 1) when opening applications(such as jupyter lab, spynder etc.)?

I was trying to open the jupyter notebook because I just wanted to use the tool for data analytics activities. I just installed Anaconda Navigator and upon clic

How to shutdown jupyter notebook app (server) without using ctrl-c?

I run a jupyter notebook in the background on a Mac using >jupyter notebook & Because it is running in the background I can't use use ctrl-c to kill i

Jupyter notebook shows FileNotFoundError and is unable to run any shell

I have installed Jupyter: OS : 32bit windows 7 jupyter notebook version is 6.0.1. After installing it, when I try to open a notebook, it shows a kernel error