Showing posts with the label jupyter

[FIXED] pdb in JupyterLab not entering interactive mode

Issue My goal is to run some python scripts with pdb or ipdb in JupyterLab to capture my debuggin…

[FIXED] Tab completion in ipython for list elements

Issue Here is how tab completion is working for me: In [84]: a="string" In [85]: b = […

[FIXED] Is there a function to filter out NaN/Na and a word in panda?

Issue I have tried in combination df2 = df.loc[['Entity'] != ('World')] df2.loc[[&#…

[FIXED] AttributeError: module 'sklearn.metrics._dist_metrics' has no attribute 'DatasetsPair'

Issue I'm trying to balanced my data on jupyter-notebook, using SMOTE: from imblearn import ov…

[FIXED] how to keep jupyter kernel alive inside vscode remote container?

Issue Question: How can I disconnect, then reconnect to a vscode dev container without killing the…

[FIXED] Jupyter Notebook: how to skip the confirmation after CTRL-C?

Issue I run Jupyter Notebook 6.2.0 like this: jupyter notebook If I press CTRL-C, it prompts me f…

[FIXED] No module named 'pmdarima'

Issue Im using the jupyter notebook from remote access and want to import the pmdarima for the auto…

[FIXED] Why does Jupyter sometimes put plots in scrollable frames?

Issue Below is a screenshot, in which I create two figures containing 4 plots, with near-identical …

[FIXED] vscode jupyter failed to start kernel

Issue I use jupyter notebooks in vscode all the time. I noticed about a day or two ago that I could…

[FIXED] How to programatically save pdf of jupyter notebook with a custom, dynamic, file name

Issue On Windows 10, I am trying to save a Jupyter notebook as a pdf, under a name that will change…

[FIXED] How to install a new Jupyter Kernel from script

Issue I am trying to install a new kernel on a jupyter environment from bash script. In a dockerfi…

[FIXED] Jupyter Notebook: interactive plot with widgets

Issue I am trying to generate an interactive plot that depends on widgets. The problem I have is th…

[FIXED] Associate ipynb files with Jupyter notebook in Windows 10 (Anaconda)

Issue I installed Anaconda on my Windows 10 machine. I have a few Jupyter notebooks on my pc and I…

[FIXED] Jupyter Labs: "RuntimeError: npm dependencies failed to install" When Building

Issue I'm new to using Anaconda and recently installed jupyter labs on my computer. However, an…

[FIXED] python Shift + enter not working in VScode with jupyter

Issue I have a new install of VS Code Version 1.50.1 with the python extension that now added the J…

[FIXED] Python concat columns

Issue I have 3 similar tables, each showing some spread numbers for each 24 hours. I want to combin…

[FIXED] Gams_magic does not work in Jupyter notebook and returns ModuleNotFoundError

Issue I just wanted to use gams inside Jupyter notebook in order to use data frames of pandas in ga…

[FIXED] How can I reshape a table with Pandas

Issue I need to reshape a single column table with the next format: class="s-table">…

[FIXED] Make table with bins without unstack

Issue I have a dataframe with two columns: df=[[5,3,1,9],[0,6,2,3],[1,5,1,8],[5,6,2,8],[2,9,11,3],…

[FIXED] how to combine two dataframe in python

Issue I have the following code, while combining, I want a new column at the beginning and write ea…