Category "jupyter-notebook"

How to fix errors occurring on installation of Jupyter Notebook?

I am new to Python and try to install Jupyter Notebook from within a Windows command prompt window using: pip install jupyter But after a couple of minutes of

How to run a Python script in a '.py' file from a Google Colab notebook?

%%javascript IPython.OutputArea.prototype._should_scroll = function(lines) { return false; } %run rl_base.py I run this giving error saying rl_base.py fi

ImportError: DLL load failed when importing sklearn in Jupyter with Anaconda

I updated Anaconda, and since then I can't import sklearn in my Jupyter Notebook. Here is my traceback: -------------------------------------------------------

how can i insert a google sites into jupyter notebook with R

Is there any command to insert a sites.google into a notebook with IRkernel? I can find just the method to get the visible hyperlink with markdown cell: IRdispl

Python kernel dies on Jupyter Notebook with tensorflow 2

I installed tensorflow 2 on my mac using conda according these instructions: conda create -n tf2 tensorflow Then I installed ipykernel to add this new enviro

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

In Jupyter Notebooks, the tooltip feature (shift + tab) works for some kernels (e.g. Python 3) but not others (e.g. Scala, Groovy). Is that expected?

This is my first foray into Jupyter Notebooks. My background is in Java and Scala development in classical IDEs (e.g. IntelliJ, Eclipse). I have Jupyter Notebo

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

execute a Jupyter Notebook cell programmatically

Is it possible for a Jupyter Notebook cell to execute another cell programmatically? (i.e. using Python) And if so, is it possible to specify the cell number t

Is there a nice way to use the %env magic to *append* to an environment variable?

For example, I wanted to append to the PYTHONPATH environment using the %env magic. The only way I could figure out requires setting a "dummy" python variable a

Connecting Spyder to Remote Jupyter Notebook in a Docker Container

I have been trying to connect Spyder to a docker container running on a remote server and failing time and again. Here is a quick diagram of what I am trying to

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

How to colour code points using Bokeh with gmap

I currently have a gmap displaying gps points, however, I was hoping there was a way to colour code my GPS points based on which month they were recorded ? I ha

how to load data to jupyter notebook VM from google cloud?

I am trying to load a bunch of csv files stored on my google cloud into my jupyter notebook. I use python 3 and gsutil does not work. Lets's assume I have 6 .

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

Automate the execution of a .ipynb file in SageMaker

I want to automate Jupyter's work. I created a function in AWS Lambda that when the S3 bucket receives a .csv file, it opens the determined instance of Jupyter

import a function from another .ipynb file

I defined a hello world function in a file called 'functions.ipynb'. Now, I would like to import functions in another file by using "import functions". I am sur

Cannot access Jupyter lab on Google Cloud Platform. Cannot find template: "403.html"

I have a virtual machine on Google Cloud Platform. I left a code running on Jupyter lab, which I accessed through port 8080, and I was checking its proper funct