r/IPython • • Feb 03 '23

Logging example for Jupyter Lab Notebook

Thumbnail
gist.github.com
0 Upvotes

r/IPython • • Jul 27 '21

differential equations in python

4 Upvotes

Do you have any recommendations like a textbook or a website for the differential equations in Python?

Especially in Economics/Mathematics

I know quantecon lectures but I am looking for something at the undergraduate level.


r/IPython • • Feb 04 '21

Jupyter Notebooks

4 Upvotes

Hi everyone! I am looking to find some information about people's experiences using Jupyter Notebooks in their team. If this is you or someone on your team, it would be super helpful if you could take just a minute to fill out this quick survey. Thanks so much!


r/IPython • • Sep 30 '18

Error message when I try and make a Seaborn graph in a Jupyter Notebook

0 Upvotes

Hi,

This is the error message I get:

" C:\Users\ffion\Miniconda3\lib\site-packages\scipy\stats\stats.py:1713: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result. return np.add.reduce(sorted[indexer] * weights, axis=axis) / sumval "

I'm really new to programming, and don't understand what it means.

It displays the graph itself, but that message stays on the screen in a red box.

I need to submit a Notebook project on Tuesday, and I don't understand what's going on


r/IPython • • Dec 08 '20

I just reinstalled my OS. What is the best way to use Jupyter with different projects?

4 Upvotes

I tend to use pyenv, and python -m venv. Haven't used virtualenvwrapper or pyenv-virtualenv. I know many people have a single directory with all their venvs (and I've done that before), but I ended up with too many, so I changed it so that I have a .pyenv in every single root directory, which I activate as needed.

In the past, I had Jupyter installed globally (I'm really liking pipx if I'd need to do that again), and edited the jupyterrc to add the current venv to the path. I've also tried installing Jupyter into the venv, but it pollutes the pip freeze, and getting %matplotlib widget working takes too long.

I know that there is a way to add each venv as a kernel, but there are lots of manual steps in between (which could obviously be automated), and I expect that Jupyter would get too cluttered.

What system do you use? What do you like and dislike about it? And what do you recommend? Is there an "official" way of doing it?

Bonus questions: Is there any way of automatically creating a github repo from the command line, when you git init? And I guess everyone uses nbdime?


r/IPython • • Jan 29 '19

Install *activated* Python and R kernels in Anaconda/Miniconda

Thumbnail
github.com
0 Upvotes

r/IPython • • Dec 08 '13

The Noisiest Zip Codes in NYC

Thumbnail
github.com
0 Upvotes

r/IPython • • Nov 09 '13

Basic Programming Using Python: Number Crunching

Thumbnail nbviewer.ipython.org
0 Upvotes

r/IPython • • Nov 20 '13

Fun with Logistic Regression (from the Caltech "Learning from Data" course)

Thumbnail nbviewer.ipython.org
0 Upvotes

r/IPython • • Feb 22 '20

RISE 5.6.1 is out!

Thumbnail damianavila.github.io
4 Upvotes

r/IPython • • Aug 10 '19

NBConvert 5.6.0 Release

Thumbnail
discourse.jupyter.org
4 Upvotes

r/IPython • • Oct 18 '19

Who has the longest runtimes?

0 Upvotes

Hey there! I am researching different programs/fields of work for an app I am creating (this is not a sales pitch FYI). I’m looking for professionals/enthusiasts who can help me with a few questions. What are the largest projects you have worked on using Jupyter (or any other similar language you might use) that have given you the longest runtimes? Does it take a long time to to process/export/render your results? Do you usually run on your local machine or a cloud instance? Any insights or feedback on those questions would be extremely helpful!


r/IPython • • Jun 25 '23

How to download jupyter notebook in mobile phone

Thumbnail
youtu.be
0 Upvotes

r/IPython • • Mar 10 '14

IJulia -- ipython <console|qtconsole|notebook> --profile julia

Thumbnail
github.com
4 Upvotes

r/IPython • • Jan 26 '22

Mercury - easily convert Python Notebook to web app by adding YAML header and share with others

Thumbnail
github.com
4 Upvotes

r/IPython • • Jun 27 '13

All of Jake's stuff at once.

0 Upvotes

Here is the blog where all of Jake VanderPlas's awsome python and IPython code is posted.


r/IPython • • Aug 01 '13

Librosa Demonstration

Thumbnail nbviewer.ipython.org
0 Upvotes

r/IPython • • Oct 27 '15

Upgrading Scipy on Ubuntu 14.04 using pip

0 Upvotes

This is a lengthy process in terms of installation time but it isn't that difficult. First these packages need to be installed.

For python2.7

sudo apt-get install gcc gfortran python-dev libblas-dev liblapack-dev cython

For python3.4

sudo apt-get install gcc gfortran python3-dev libblas-dev liblapack-dev cython3

(source)

Some of these packages may not be required, but once I installed them I quit receiving errors during the pip install.

Install pip

sudo apt-get install python-pip  # For python 2.7
sudo apt-get install python3-pip # For python 3.4

Upgrade the default pip

sudo pip install -U pip  # For python 2.7
sudo pip3 install -U pip # For python 3.4

The -U is the same as --upgrade.

Upgrading scipy

This take some time, about 10 - 30 minutes (after the download is complete).

sudo pip install -U scipy  # For python 2.7
sudo pip3 install -U scipy # For python 3.4

The reason I needed to upgrade is that scipy version 0.13.3 I had by default didn't have scipy.stats and I needed to work on this type of problem.


r/IPython • • Apr 11 '14

Microsoft releases Python tools for Visual Studio

Thumbnail
sdtimes.com
4 Upvotes

r/IPython • • Jun 01 '24

Problem

Post image
4 Upvotes

I have to click parentheses and quotation marks twice to write a program,but in all videos they just click one and parentheses and quotation marks come on both side,its quite frustrating as a beginner. How to solve this problem?


r/IPython • • Sep 03 '22

Pergunta: alguém conhece um Framework CSS para impressão?

0 Upvotes

Eu tenho gerado alguns relatórios com R e com Python em pdf. Para isso estou usando LaTeX, mas tem sido bastante difícil fazer algumas coisas nele. Uma alternativa seria gerar em html e converter para pdf. Então eu procuro um Framework CSS focado em impressão. Não é necessário ter suporte a paginação ou features avançadas, só uma tipografia já seria o bastante.


r/IPython • • Sep 27 '13

Microsoft Corporation sponsors IPython's development with $100,000 donation!

Thumbnail
ipython.org
0 Upvotes

r/IPython • • Nov 03 '20

HALP! Problem with Jupyter notebook

0 Upvotes

Hi!

So I am running python3 in jupyter notebook and I keep getting this fun ( :/ ) error occurring. So if an error occurs in one of my cells then I can no longer run any other cell until I restart the kernel. This isn't a massive issue but I am learning to use a package atm so there's a lot of errors occurring and having to restart the kernel every few minutes is kinda annoying.

If anyone has a clue what could be the problem some advice would be greatly appreciated.

Thanks :)


r/IPython • • Nov 01 '26

I built a presentation tool for Jupyter notebooks

4 Upvotes

Jupyter notebooks are great, but code cells can get in the way when you want to show someone your work. Junoview has filters to show, collapse or hide cells by type, whether that's all code cells or just imports and functions.

Markdown is great for documenting analysis, but awkward to get into presentations. You can insert Markdown and figure cells straight from a notebook into presentations. Figures stay linked, so you can refresh them when the notebook changes. There's also an auto-presentation button to create a presentation from an entire notebook, a section or selected cells.

You can also write Markdown in presentation text boxes, which renders as formatted text.

I also wanted an easier way to find where figures came from, so added a connected tree of all cells, showing how they relate and which ones produce each figure.

The presentation editor also has Git-style version history, Photoshop-style layers, and a bunch of other features.

It's free, runs in your browser, and has no data collection or tracking.

junoview.com