Questions tagged [jupyter-notebook]

The Jupyter Notebook is a web application that provides a frontend to many different languages and interactive shells such as IPython. Jupyter Notebook, unlike its predecessor IPython Notebook, supports many different languages and interactive shells in addition to Python and IPython.

Filter by
Sorted by
Tagged with
0
votes
1answer
9 views

Cannot install cartopy Jupyter Notebook

I am trying to install cartopy package and I run the following (Jupyter Notebook, Macbook): conda install -c conda-forge cartopy while I get nothing but: Collecting package metadata (current_repodata....
-1
votes
0answers
7 views

Sliding window on an image to calculate variance of pixels in that window

I am trying to build a function that uses sliding window over and image and calculates the variance of pixels in the window and returns a bounding box where there is the most variance observed. I'm ...
0
votes
2answers
20 views

Convert a Dataframe to Dictonary in Python

I have a .csv file with demand values ??written like this below, which I need to transform into a dictionary to use in a mathematical optimizer The dataframe values ??look like this: mesoregion ...
-6
votes
0answers
21 views

How to write a continuous while loop for even and odd integers [closed]

I'm new to Python. So my assignment is -Write a continuous while loop where you take the integer input from command prompt one by one,and if the number n is odd print "number is odd" else ...
0
votes
0answers
9 views

PySpark No Data Being Consumed

I am currently streaming tweets (just the text portion) to 127.0.0.1:3333 and would like to use PySpark Structured Streaming to pick up that stream from that host:port and do some data cleaning, ...
1
vote
1answer
21 views

Is there any way to run all of or some of a py file and maintain the resulting state?

If I have an IPython notebook and a separate py file, can I run all the code in that file and then have the resulting state in the notebook? Kind of like running python -i myscript.py from the command ...
0
votes
0answers
7 views

Passing jupyter server as a argument to ExecutePreprocessor (nbconvert)

Based upon this docs https://nbconvert.readthedocs.io/en/latest/execute_api.html: I've created small function that will run every notebook from my folder def run_nbs(): """Execute ...
1
vote
2answers
21 views

Creating a dataframe from a dictionary column in CSV with multiple columns

I'm new here and just started to learn python (jupyter nb). I have a csv file with multiple columns. One of the column is list of dictionaries (string based). I'd like to explode the list of ...
1
vote
0answers
15 views

Postgres JAR with EMR and Jupyter Notebooks

I am trying to launch an EMR cluster that includes the Postgres driver JAR file so I can load data from Postgres and analyze it with PySpark. I have the the JAR I would like to include stored in S3. I ...
0
votes
0answers
7 views

sql procedure does not create 'implicitly created table' when it is called with sqlalchemy through jupyter notebook

Procedure is written in plpython3u language. It creates and insert a table implicitly and returns a summary table as well. When I call the procedure with pgadmin it works. I want to create a ...
0
votes
0answers
18 views

(-215:Assertion failed) !_src.empty() in function 'cv::cvtColor' when input video file

Python Version : 3.8.3 face_recognition version : 4.5.1 IDE : Jupyter Notebook Description I'm having problem to run this program, the error under below gray = cv2.cvtColor(im,cv2.COLOR_BGR2GRAY) ...
1
vote
2answers
15 views

Jupyter Notebook and pip referring to previous uninstalled python version

I have recently uninstalled python 3.7 and installed python 3.9. After that, when I try to use pip to install any package, it keeps trying to use python37.exe, which is not installed anymore. I was ...
0
votes
0answers
6 views

Passing commands to Miniconda prompt while Jupyter Notebook / another program is running

I looked through questions posted that might be similar, but do not find the same issue. I have activated my environment and opened Jupyter Notebook from the command line. Once open, the command line ...
-1
votes
0answers
18 views

BadRequestException error while creating new bot with aws lex using python

I am trying to create a lex bot sig python SDK boto3 getting the following error error : BadRequestException: An error occurred (BadRequestException) when calling the PutBot operation: checksum must ...
0
votes
0answers
8 views

localhost is not responding due to a long-running script jupyter notebook

I am working in Jupyter Notebook python 3. When I am writing code, it crashed. And now returns localhost is not responding due to a long-running script. HOw can I fix this issue

15 30 50 per page
1
2 3 4 5
1222
 
久草视频新免费_日韩视频一中文字暮_欧美三级片