Category "jupyter"

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

How to create variables based on column names in dataframe?

I wanted to create variables in python based on the column names of my dataframe. Not sure if this is possible as I am quite new to Python. Lets say my df looks

How to create variables based on column names in dataframe?

I wanted to create variables in python based on the column names of my dataframe. Not sure if this is possible as I am quite new to Python. Lets say my df looks

Why has seaborn/matplotlib filled below the line in this lineplot

I don't know why my plot looks like this: I only want to display lines with no fill. Code below. Note this also happens if I run in Spyder or cmd. import ma

KernelRestarter: restart failed in jupyter , Kernel died

[I 10:43:53.627 NotebookApp] 启动notebooks 在本地路径: /opt/soft/recommender/jupyter [I 10:43:53.627 NotebookApp]