Category "jupyter-notebook"

Python argparse error: error: argument count: invalid int value

I am trying to run below code in jupyter notebook. import argparse parser = argparse.ArgumentParser(description='Example with non-optional arguments') parser.a

Jupyter Notebook "Notebook changed" keeps appearing

i keep getting the following message : "The notebook file has changed on disk since the last time we opened or saved it. Do you want to overwrite the file on di

jupyter-console fails to start, but jupyter-notebook is fine

I can start jupyter-notebook but not jupyter-console. In the dev virtualenv on a Mac, it tries to import cast_unicode_py2 from IPython.utils.py3compat, but cas

AttributeError: module 'keras.utils' has no attribute 'get_file'

When I'm trying to implement the following code from keras_segmentation.models.segnet import resnet50_segnet from keras_segmentation.predict import model_from_c

How to have convert notebook command support Chinese character on Mac? I am willing to contribute some code to jupyter notebook

I am running jupyter notebook on Mac. This command converts a notebook file that does not contain Chinese character to pdf successfully. jupyter nbconvert tes

How to run an .ipynb Jupyter Notebook from terminal?

I have some code in a .ipynb file and got it to the point where I don't really need the "interactive" feature of IPython Notebook. I would like to just run it s

How to change the Jupyter start-up folder

I tried following the instructions given on the Jupyter Notebook documentation. Unfortunately, I haven't been able to figure it out. Where exactly is this "sta

pyspark delta-lake metastore

Using "spark.sql.warehouse.dir" in the same jupyter session (no databricks) works. But after a kernel restart in jupyter the catalog db and tables arent't re

Py4JJavaError: An error occurred while calling None.org.apache.spark.api.java.JavaSparkContext

Anyon know Why I keeo getting this error in Jupyter Notebooks??? I've been trying to load my Tensorflow model into Apache Spark vis SparlFlowbut I can't seem to

coding reduceByKey(lambda) in map does'nt work pySpark

I can't understand why my code isn't working. The last line is the problem: import findspark findspark.init() from pyspark import SparkConf, SparkContext from p

How to patch input() when testing Jupyter notebook cells with testbook?

A project I'm involved in uses testbook to test code cells of Jupyter notebooks. Patching works fine — unless the code to be tested asks for

Stop Jupyter Notebook from printing warnings / status updates to terminal

I love Jupyter's Notebook, however, it prints many, many updates to the terminal it was started from. For e.g., every time a file is saved manually or automatic

Jupyter notebook will not open from command prompt

I am trying to work with Jupyter notebook on Windows 10 (64-bit). I downloaded Anaconda3 5.0.1. Now I should be able to open the jupyter notebook from the comma

pip install yahoo-finance with jupyter notebook

I tried to install yahoo finance in terminal with pip install yahoo-finance so I can run yahoo finance in jupyter notebook. While there's nothing happened after

Databricks display() function equivalent or alternative to Jupyter

I'm in the process of migrating current DataBricks Spark notebooks to Jupyter notebooks, DataBricks provides convenient and beautiful display(data_frame) functi

Debugging of Jupyter notebooks in VsCode

I'm using Visual Studio Code Insiders to work on Jupyter Notebook files. In the default version of VSCode it is possible to debug Jupyter notebook cells. Unfort

Change directory in Jupyter Lab not working

I ran the commands attached below in my command line and it works, as it should, but not in JupyterLab. It seems odd but I was wondering what's going on?

Convert raw Ipython Notebook txt to Ipynb

I have a textfile containing the source code for an Ipython Notebook. How can I convert this file using Ipython / Python to an Ipython Notebook? e.g. : sourc

Error 502 (Bad Gateway) when accessing Jupyter Notebook from Google Deep Learning VM

I have recently quoted a Deep Learning VM from Google Cloud. DLVM provides a link to the jupyter notebook of our VM, but when I paste the link to the browser, i

On zipfile read of shapefile from URL, fault for initial value not str

Using Python 3.5, following example for reading shapefile zipfile from URL and updating for P3.5. Code is below. I've looked at other cases and attempted to a