Category "jupyter-notebook"

Jupyter Notebook: Access to the file was denied

I'm trying to run a Jupyter notebook on Ubuntu 21.10. I've installed python, jupyter notebook, and all the various prerequisites. I added export PATH=$PATH:~/.l

Anaconda-Jupyter Doesn't open in Firefox

I have just installed Ubuntu 22.04 TLS from 20.04. On Ubuntu 20.04 anaconda and jupyter work very well. But since I'm on Ubuntu 22.04, I can't open jupyter in m

Pyspark Py4JJavaError while creating the delta-table

Here is the pyspark code which is running on jupyter notebook. import pyspark from delta import * builder = pyspark.sql.SparkSession.builder.appName("MyApp") \

Adjust kepler map size in dual mode in jupyter notebook

I want to use kepler map in dual mode (in jupyter), to have 2 visualizations on the same map, on the left is one layer, on the right is another. In normal mode

line() got an unexpected keyword argument 'reuse_plot'. Not sure what this means

I am following a tutorial online to use Python to determine financial returns. I am getting an error "TypeError: line() got an unexpected keyword argument 'reus

Import custom udf from jar to Spark

I am using Jupyter notebook for running Spark. My problem arises when I am trying to register a UDF from my custom imported jar. This is how I create th UDF in

Visual Studio Code freezes after short while "The window is not responding"

Problem: I can open VS code and start typing but after ~30s (sometimes minutes) the window freezes showing this message: I am using python on a jupyter noteboo

Jupyter Notebook Installation on python 3.8 in ubuntu 20.04

Traceback (most recent call last): File "/usr/local/bin/jupyter-notebook", line 5, in from notebook.notebookapp import main File "/usr/local/lib/python3.8/dist

dataframe-image 0.1.1 does not export as image

The library dataframe_image is being used to convert a dataframe to png at spyder. However, it sends an error when the example code is executed. The error is: T

How to append two cell values located in the same dataframe column?

Disclosure Source 35 36 37 38 39 202-1 GRI 202: Market Presence 40 2016 41 42 43 The Source Co

How to split cell in VSCode Jupyter Notebook?

How can a Jupyter notebook cell be split in VSCode? I.e., how to split a single cell with multiple lines into two cells with the top lines (above the cursor) i

Python 3 RuntimeWarning: overflow encountered in double-scalars - trying to fit multiple gaussians and an offset using scipy.optimise.curve_fit

Hi all as with many peeps, I am new to python. Updated script that runs to completion but has a OptimizeWarning: Covariance of the parameters could not be estim

How to mount a bigger file to docker compose

The issue is as long as the file size is small: I could mount the volume and see it inside my container. But as the file size grows let's say 34MB, I can't see

AttributeError: Can't get attribute 'PandasIndexAdapter' on <module 'xarray.core.indexing'

I am trying to unpickle a file but i get this error while running the following code: import pickle import pandas as pd import numpy unpickled_df = pd.read_pick

Jupyter Notebook Won't Open Erno122

I'm trying to open Jupyter Notebook for some fairly heavy data analysis (pulling in datasets from hdf5 files and looking at certain aspects of them). I've done

"How do you want to open this file" when open Jupyter Notebook with Anaconda or Prompt

When I tried to open it, windows just pop up the regular "i don't know how to open this ext, how do you want to open it" dialog box. The anaconda prompt gave me

Python module "pyLDAvis.gensim" not found

I installed pyLDAvis and gensim modules in jupytor notebook,when i tried to use "pyLDAvis.gensim" module i am getting error as No "module named 'pyLDAvis.gensim

Jupyter seems to connect fine, but cannot access in a browser

I'm trying to open Jupyter notebook in a browser. Jupyter seems to have connected just fine: [I 20:38:02.663 NotebookApp] Serving notebooks from local directory

ImageDataBunch function is not defined-FastAI windows

I am trying to install fastai in my windows 10. My laptop has no GPU, I am using pip in cmd to install fastai. In pip page, they mentioned to install pytroch be

mount_workspace_dir notebook magic not working in EMR Studio

In an EMR Studio Python3 notebook, I execute the following: %mount_workspace_dir . And receive the following error: UsageError: Line magic function `%mount_wor