Category "jupyter-notebook"

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

How to run a jupyter notebook through a remote server on local machine?

I have a remote access to remote server from my university and I'm accessing it through my local machine! However, my local machine has not enough memory to run

How to close the spark instance

I want to stop my spark instance here once I complete my job running on Jupyter notebook. I did execute spark.stop() at the end, but when I open my terminal, I'

catboost data visualization is not displayed

I'm trying to use the data visualization feature in catboost - the one that visualizes training vs validation error (learning curve): model.fit(X_train, y_train

File Path Details | Using command prompt or any script

Can anybody help me with some command prompt details/ script detail/python programming on how to get file details? Scenario: Folder contains many subfolders --

Achieving the equivalent of Google CoLab @param markup in Jupyter without CoLab

Google Colab has some unique embedded markdown features which are not present in Jupyter markdown. For example, this produces a slider: #@title SEIR Model with

Pluto.jl vs Jupyter Notebook

What is the difference between Pluto.jl and Jupyter Notebooks? How do I decide which I should prefer for teaching students? Is there a performance difference? I

Error in loading image_dataset_from_directory in tensorflow?

This is the code from https://keras.io/examples/vision/image_classification_from_scratch/ import tensorflow as tf from tensorflow import keras from tensorflo

Unable to save Jupyter notebook in VS Code

I have been trying to save my jupyter notebook in the '.ipynb' format but am unable to do so, in whatsover extension. I encounter the following error message Fa

How to undo/redo changes inside the selected cell in Jupyter notebook?

I am using Jupyter notebook (from anaconda Jupyter lab) on Windows 10 and tried to undo/redo changes in the selected cell. However, I can only undo/redo changes

Anaconda/Jupyter notebook/500 : Internal Server Error/windows 10/python3

I am learning data science with python and R, in my first course i downloaded python3, R and Rstudio and in the current course i am learning using jupyter and d