sklearn.tree.export_graphviz alternatives

It is possible to visualize decision trees using pydotplus from pypi, but it has issues on my machine (it says it was not build with libexpat and thus it only shows a number on a node instead of a...

Error loading Jupyter Notebook Extensions

I am using a Macbook with OS Sierra, and running Python 3.6.1 and Jupyter Notebook Server 5.0.0 I installed Jupyter Notebook extensions, following the instructions as mentioned on...

"ModuleNotFoundError: No module named 'notebook.config_manager'" or "kernel error in the jupyter notebook"

I encoutered the trouble with the jupyter in the conda system as in the title. version: Ubuntu 16.04 LTS conda 4.3.30 jupyter 4.4.0 (I've uninstall and then install again after the above...

Using python variable within Jupyter LaTeX Markdown Cell

I would like to fill in values in a report that I'm generating using a Jupyter notebook. While I am using the nbextension Python Markdown, this appears to only allow variables that can isolated,...

Table of Contents disappeared in Jupyter Notebook

Currently, a jupyter notebook does not show the lateral table of contents. All the other notebooks do. In fact, for that notebook under menu->edit the nbextensions config disappeared, so, it looks...

How to add/edit code snippets in jupyer notebook?

I tried to follow the instructions given in the README file of the extension. Im using Windows and to open my notebooks I use the jupyter-notebook.exe stored in the...

Jupyter notebook: Is there a way to fold sections while exporting to html

I am using Jupyter notebooks with jupyter-contrib-nbextensions and I can fold sections as well as code blocks in them. I want to know if there is a way to preserve the folding feature when the...

display pandas dataframe into another tab

I am trying to display my pandas dataframe in another "Output View" tab as shown in this iamge... https://github.com/quantopian/qgrid/blob/master/docs/images/events_api.gif I am able to install...

How to auto-update jupyter notebook extension during development/debugging?

I try to write a custom extension for the Jupyter Notebook, as described here: https://towardsdatascience.com/how-to-write-a-jupyter-notebook-extension-a63f9578a38c I use the Chrome developer...

Installing Jupyter Extension, Failure to Enable 'nbextension'

I'm posting this question as I couldn't solve this problem upon multiple sifting/troubeshooting on SO, etc. I have all the below packages successfully installed, a pip list, conda list shows: The...

ERROR: You must give at least one requirement to install -- when running: pip install --upgrade --no-binary hdbscan

I am trying to install hdbscan in my PC which runs Windows 10 and has installed Python 3.6. My first attempt failed: (base) C:\WINDOWS\system32>pip install hdbscan --user Collecting hdbscan ...

Export to HTML of Jupyter notebook with table of contents does not embed plots

I have build a notebook for visualization purposes. First, I have exported it to html using the command line interface of nbconvert: jupyter nbconvert myNotebook.ipynb --no-input Adding the...

Why is statsmodels package not working on Flask but is on ipython?

I am getting this import error from the scipy package. Please see requirements.txt for versions. This is only happening on Flask and not when I run the same code on ipython. Is there any reason...

Autocomplete in Jupyter notebook not working

I have tried the following steps after the installation of Anaconda's latest version. I am not able to get the autocomplete feature working... Any suggestions on what else I need to try... Step...

jupyter notebooks problem loading nbextensions

I have installed Anaconda3 5.0.1 for windows. Afterwards, I installed nbextensions for Jupyter notebook. I have used following code in Anaconda Prompt for nbextension installation: pip install...

How to handle Jupyter Notebook NBextension config error?

I installed nbextension to my Jupyter Notebook. But when I was using large datasets it made a big slow down. Then I removed NBExtension but after uninstallation, 500 Internal Server error started....

Fix jupyter notebook toolbar with jupyterthemes and table of contents

I'm running a jupyter notebook after having changed the theme this way !jt -t oceans16 -T -N -kl Now the toolbar appears but it overlaps with the code and table of contents. If I scroll down the...

Jupyter notebook not showing In[] / Out[]

This is on a new bleeding edge ubuntu installed laptop where I also installed all the latest packages and tools. The jupyter notebook also doesn't display the asterisk * when busy and execution...

How to set the argument "--template toc2" through nbconvert API?

I have a Python jupyter notebook, which I can successfully export to HTML with a table of content through the command line: $ jupyter nbconvert nb.ipynb --template toc2 How do I do the same, but...

Activating jupyter_contrib_nbextensions in JupyterLab

I have installed jupyter_contrib_nbextensions using conda, i.e.: conda install -c conda-forge jupyter_nbextensions_configurator This is what I see: I don't see extensions I expected to see like...

ImportError: Couldn't import Django after running " heroku python manage.py migrate" in CMD

I have a following error after running " heroku python manage.py migrate " in CMD. C:\Users\ky2001\Desktop\my_app>heroku run python manage.py migrate Running python3 manage.py migrate on ⬢...

Jupyter Configurable nbextensions list is empty

I installed conda install -c conda-forge jupyter_nbextensions_configurator and ran jupyter nbextensions_configurator enable --user in my venv, but the nbextensions menu is empty. I've restarted...

Some setting changes in Table of Contents 2 (toc2) in nbextensions not showing up in Jupyter notebook I had open at the time of installation

I recently installed nbextensions in my conda environment to add the ability to add a Table of Contents (toc2) to my notebooks. But I did this while having a jupyter notebook open and after...

How to use jupyter nbextension "code prettify" in google colab?

I have been using jupyter notebook for a long time. Recently I am using google colab for some experimentation. One thing I always do in jupyter notebook is format the code using "code prettify"...

Unable to use exporters from jupyter nbcontrib_extensions

Using this Dockerfile: FROM python:3.7 FROM jupyter/minimal-notebook WORKDIR $HOME RUN python -m pip install --upgrade pip COPY requirements.txt ./requirements.txt RUN python -m pip install -r...

Duplicate versions of nbextensions - how to know which one to delete

I want to install nbextensions for my juypter notebooks. Having followed the instructions from here, I can see the nbextensions dashboard. However when I go to enable this I get the following...

jupyter nbconvert --to html_toc not working (convert jupyter notebook with table of content to website format)

What I wanted With the nbextension toc, jupyter notebooks have table of content capabilities which is said to be transferable to html via nbconvert --to html_toc function, or via the dropdown...

How can JupyterLab load notebook.json or custom.js when JupyterLab launching?

I want to have JupyterLab launch and load custom settings and overwrite advanced settings automacally. But I can't do it although I tried three method notebook.json/custom.js/config.js. How can I...

Incomplete nbextensions in jupyter notebook (only 5 extensions are showing)

Tried to invoke in the anaconda command prompt conda install -c conda-forge jupyter_contrib_nbextensions But got this issue: This nbextension is enabled in the notebook json config, but doesn't...

Jupyter Notebook TOC not showing up

I created a new environment in Anaconda, and I cannot get Jupyter Notebooks TOC to work. I tried the answers in a similar question at Jupyter Configurable nbextensions list is empty. I initially...