How to add conda environment to jupyter lab

Assuming your conda-env is named cenv, it is as simple as : $ conda activate cenv # . ./cenv/bin/activate in case of virtualenv (cenv)$ conda install ipykernel (cenv)$ ipython kernel install –user –name=<any_name_for_kernel> (cenv)$ conda deactivate If you restart your jupyter notebook/lab you will be able to see the new kernel available. For newer versions … Read more

How can I add a table of contents to a Jupyter / JupyterLab notebook?

You can add a TOC manually with Markdown and HTML. Here’s how I have been adding: Create TOC at top of Jupyter Notebook: ## TOC: * [First Bullet Header](#first-bullet) * [Second Bullet Header](#second-bullet) Add html anchors throughout body: ## First Bullet Header <a class=”anchor” id=”first-bullet”></a> code blocks… ## Second Bullet Header <a class=”anchor” id=”second-bullet”></a> code … Read more

What is the difference between Jupyter Notebook and JupyterLab?

Jupyter Notebook is a web-based interactive computational environment for creating Jupyter notebook documents. It supports several languages like Python (IPython), Julia, R etc. and is largely used for data analysis, data visualization and further interactive, exploratory computing. JupyterLab is the next-generation user interface including notebooks. It has a modular structure, where you can open several … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)