Questions tagged [ipynb]

31 questions
1
vote
1 answer

Python .ipynb file prints output to the terminal without print function .py doesnt

I am implementing a sample probability density function. Although there is no print function in my code it prints sample output from my value. I use .ipynb file, and when i copy the code into .py file, it is not printed. I don't understand where is…
Emirkan
  • 25
  • 4
1
vote
0 answers

VSCode pydevd: Sending message related to process being replaced timed-out after 5 seconds

After updating VSCode, in my .ipynb notebook cells I'm getting: 940.62s - pydevd: Sending message related to process being replaced timed-out after 5 seconds ... on many cells. It seems to be cells that take > 5s to execute. Somehow this update has…
P i
  • 29,020
  • 36
  • 159
  • 267
1
vote
1 answer

Is it possible to show ipynb file in Opengrok?

I want to show the ipynb file to Opengrok Service, but the ipynb file shows XML or JSON format. This is not readable. Is there a method to show ipynb file in a readable format?
linuxias
  • 306
  • 2
  • 10
0
votes
0 answers

(VSCode) pandas.read_xlsx works in ipynb but not py

I basically had only 1 line of code, that is: data = pd.read_excel('Physical properties.xlsx', index_col=1, header=3) this line works if it was in ipynb format, but produces [Errno 2] No such file or directory error if was run in py format. Both…
0
votes
0 answers

jupyter notebook changes the label from numeric to [*] and then gives no output

jupyter notebook changes the label from numeric to [*] and then gives no output When trying to open and run .ipynb file in Mozilla FireFiox the jupyter notebook, then after several clicking on the run button it starts writting [*] instead of…
0
votes
0 answers

Importing Notebook 'ipynb: approach and options

I take note of Q&A discussing how to import .ipynb from one notebook to another. I won't be listing them here. I also know I can use the magic %run command to bring in variables/definitions/functions from another .ipynb to my notebook. Obviously,…
semmyk-research
  • 333
  • 1
  • 9
0
votes
1 answer

How to extract text from pdf files and convert to Jupyter notebook format (.ipynb) in R

I have a number of PDFs in multiple subfolders containing code. I would like to extract the text from these PDFs and convert them into Jupyter notebooks programmatically. To my knowledge there is no program/package that can convert PDFs to .ipynb…
Pål Bjartan
  • 793
  • 1
  • 6
  • 18
0
votes
1 answer

How to read an .ipynb file type in a python code

I'm trying to get my program to read an .ipynb file type that contains graphs, images and text: f = open(r"~/Documents/Dev/Python/facial-emotion-recognition.ipynb","r") print(f.read()) but it keeps printing FileNotFoundError: [Errno 2] No such file…
0
votes
0 answers

how to close pycharm jupyter notebook data extraction

I just had a weird problem: the one-dimensional array in jupyter notebook in Pycharm displayed multiple rows. I attached the image below. I know there is meaningless to discuss if it is a row or column when it is a 1d array. By the way, does anyone…
Gang
  • 1
  • 2
0
votes
0 answers

Julia .ipynb runs out of memory

I have a function that is a bit computationally expensive. I expected the function to take a lot of time but it instead appears to run out of memory space. This doesnt make sense though as most of the variables in the function are temporary and the…
0
votes
0 answers

How can I fold all cell in ipynb file with Vscode?

There is a "collapse all" hot key: ctrl+K ctrl+0, but this method can only fold current cell. Such like this:enter image description here And there is another hot key "Collapse all cell input" (no keys bound). Athough all cells can be collapsed, the…
0
votes
0 answers

ModuleNotFoundError: No module named 'svm_margin_plot'

I am trying to write a code in jupyter and I have this error "ModuleNotFoundError: No module named 'svm_margin_plot'" Here is my code: from svm_margin_plot import plot_svm_boundary
Dhenhice
  • 103
  • 5
0
votes
1 answer

import numpy could not be resolved message error; ipynb in vscode

I opened two ipynb files in vscode, and one is showing error messages. this is first file and this is second file. i can run both files without any problems. But those error alrams are really annoying. How can i get rid of it? those messages are…
COTHE
  • 55
  • 1
  • 4
0
votes
0 answers

Modules not found when running VS Code but its running perfectly in jupyter notebook

I was trying to work with ipynb in VS Code. I tried importing pandas, numpy and some other modules but each of the time it throws an error "Module not found" even though they are all installed. Although when I launch same directory in jupyter…
0
votes
1 answer

Keras function loss exponentially going into minus

I have a problem where I'm trying to create an AI model , but every time I try to run the code hist=model.fit(train,epochs=20,validation_data=val,callbacks=[tensorboard_callback]) I get a loss that is just exponentially rising into a minus Epoch…
Alphacell
  • 19
  • 3
1
2 3