I am trying to set the tools for Jupyter notebook, needed for going through the book called: Programming Bitcoin by Jimmy Song I’ve done all the steps from the guide: https://www.oreilly.com/library/view/programming-bitcoin/9781492031482/preface01.html#setting_up but got stuck on the step 7: While typing the command: virtualenv -p I get this error: usage: virtualenv [–version] [–with-traceback] [-v | -q] [–read-only-app-data ] [–app-data APP_DATA] [–reset-app-data]
Tag: jupyter-notebook
How to drop categorical columns in pandas dataframe?
I have a df where there are 60 columns in total, and 4 categorical columns, I want to make a loop to check which are numerical columns. If they are not numeric I want to drop it. I have made the below loop but this is dropping only one of the categotcal columns, and the rest remain as is. Can
ipykernel (Jupyter notebook/labs) cannot import name ”filefind” from traitlets.utils
I installed Jupyter notebook and labs on and EC2 instance and for some reason I get the following error: ImportError: cannot import name ‘filefind’ from ‘traitlets.utils’ (/usr/lib/python3/dist-packages/traitlets/utils/init.py) Jupyter opens fine in the browser but I can’t seem to be able to work in an python notebook. Answer I disencourage the solution of op. Downloading and overwriting python libraries is not
Jupyter Notebook) Is it possible to create a new dataset by adding rows that correspond to a common column in a dataset?
Hello. I want to append all data from the same date to the above data set and merge them into one. And I want to create a dataset of sum values by date. How are you? Answer
Is there a way to run all Jupyter Notebooks inside a directory?
Introduction I have a lot of Jupyter Notebooks inside a directory and I want to run them all to see them output. What I actually do I have to open them each one, click on “Restart kernel and re-run the whole notebook?”, wait a few minutes and then go for the next one. What I wish to do Find a
Why does my JupyterLab cell turn orange with every new edit or when I type in it?
I recently installed Cron via jupyterlab_scheduler in the anaconda extensions in a conda environment I usually work in. This was to schedule my jupyterlab notebooks. However, there was a problem with the application and so I deleted it. Though it seems to have left some of its features like turning the cell orange and leaving an asterisk to the left
Modules at VS code notebook [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
Jupyter notebook cell code not executing in VSCode when there is a file named random.py in the folder
I have just started using Jupyter notebooks in VSCode and have come across a strange issue. I made a folder for keeping my lab programs and there is a file named random.py in the folder. When I try to execute a code cell of my Jupyter notebook which is present in the same folder then I get an error ‘Kernel
How to avoid rewriting filepaths when running a python script on a different computer?
I wrote a script in Jupyter Notebook and the script is using a series of files. I want to send this script and run it on a different computer. Is there any way to avoid having to rewrite each individual filepath when running tje script on the different computer? Answer You should checkout os module in Python. This module has
What’s the best way of sharing jupyter notebook script with others to be able to run it on their windows computer?
I just wrote a script in jupyer notebook and I’m wondering what’s the best format I should save this file as if I want to share it with other people so they can run it on their windows computer? I tried to convert my .ipynb to both .py and .exe, but none seem to work… maybe I’m doing something wrong.