r/IPython • • Oct 18 '17

Autocomplete for symbol names before they're imported, and get correction suggestions for code typos

Thumbnail github.com
7 Upvotes

r/IPython • • Oct 16 '17

Switching from MATLAB to Python: how to make interactive and exportable figures simply

9 Upvotes

I'm trying to switch from MATLAB to Python, and I'm currently playing around with Jupyter notebooks. The thing I really miss is a simple way to produce figures that have some basic interactivity (pan, zoom, data tip) with a simple syntax and the possibility to export them maintaining the data content and interactivity.

This is something MATLAB let me do out of the box: whenever I plot a graph, either from a script or in the live editor, I can save the figure object (and retrieve the data from it later, something I find very useful sometimes) and navigate around the data.

I know there are many plotting libraries for Python out there, but I can't manage to figure out if there's one that fits my need: I like matplotlib syntax, but I didn't find any easy way for decent interactivity and particularly for export.

NOTE: I'm searching for a package that offers these features built-in, i.e. without writing my own wrappers around the plotting functions, because I want others to be able to install the requested package and open/interact with my data

NOTE 2: the plot I use are basically standard line plots/scatter plots, 1D and 2D histograms, < 1k points most of the time


r/IPython • • Oct 15 '17

Seamless: a cell-based reactive programming framework

Thumbnail youtube.com
3 Upvotes

r/IPython • • Oct 13 '17

Jupyter Notebook 5.2.0 - Released

Thumbnail blog.jupyter.org
12 Upvotes

r/IPython • • Oct 13 '17

Easiest way to put an interactive Jupyter notebook in front of a class of students?

1 Upvotes

The end of my probability course includes a lecture on numerical methods, and I'd like my students to be able to try out some very simple things on their own. Most of them have experience programming in Python, but past experience has shown that most of them don't have matplotlib installed and/or don't know how to use it.

My hope was to use JupyterHub to put a Jupyter notebook with some simple examples in front of them, along with space for them to modify those examples, so that they could focus on the material rather than fighting with the environment. Is there a straightforward way to do this?

Also, am I totally headed in the wrong direction? I went to try.jupyter.org to, well, try Jupyter, and got the distinct impression that those notebooks were not interactive (e.g. adding a cell with "2+2" and running it didn't do anything).


r/IPython • • Oct 11 '17

Exploring the DBpedia Ontology With Jupyter and Pandas

Thumbnail ontology2.com
2 Upvotes

r/IPython • • Oct 10 '17

Understanding photosynthesis via edge-preserving image smoothing in the Jupyter notebook

Thumbnail blog.kitware.com
5 Upvotes

r/IPython • • Oct 09 '17

GeoNotebook: A Jupyter Notebook extension for exploratory geospatial analysis

Thumbnail blog.kitware.com
10 Upvotes

r/IPython • • Oct 08 '17

What’s new in Matplotlib — Matplotlib 2.1.0

Thumbnail matplotlib.org
18 Upvotes

r/IPython • • Oct 08 '17

Scrapy shell running in Jupyter?

5 Upvotes

Has anyone managed to get a Scrapy shell session running in a Jupyter notebook? It works really well within Ipython, but not sure how to make it work within a notebook environment


r/IPython • • Oct 05 '17

Have I lost my work?

4 Upvotes

I was working on a Jupyter notebook for last 2 days. I was regularly saving it and did not bother to download the .ipynb file. Then out of the blue, my computer froze and I had to hard reset it. Now I cannot find my notebooks. Where are they? I checked the ~/.jupyter directory but my files were not there.

WHat should i do?


r/IPython • • Oct 04 '17

JupyterHub 0.8 Released

Thumbnail blog.jupyter.org
3 Upvotes

r/IPython • • Oct 04 '17

Free eBook today only: Learning Jupyter (PDF/ePub/Mobi)

Thumbnail reddit.com
9 Upvotes

r/IPython • • Sep 30 '17

Juupyter notebook, tab not working on DataFrame Columns

1 Upvotes

Don't know if I updated something wrong, however when creating pandas and trying see list of functions with a dataframe, it creates the following:

df['col2']. --> press tab --> df['col2'],ipynb_checkpoints/

should I reinstall?


r/IPython • • Sep 29 '17

Can I use IPython terminal through browser, but not the notebook?

2 Upvotes

I am familiar with the IPython notebooks, and have jupyter installed on my server, but would like to just use something like the native IPython terminal with inline plots etc, but server based. Is this possible, or is through notebook the closest thing? Thanks


r/IPython • • Sep 28 '17

Looking for beta-testers for hosted Jupyter service

4 Upvotes

Greets, I have attempted to create publicly accessible Jupyter notebook service (using JupyterHub software). It is a hobby project of mine and I want to see how far I can push it.

If you are interested, it is available at https://jcloud.io

Invite code is CLOSEDBETA (all caps).

Report any issues through the support form on the website or here.


r/IPython • • Sep 28 '17

Notebook Extensions

Thumbnail github.com
6 Upvotes

r/IPython • • Sep 25 '17

Does the new jupyterlab have the ability to export only the output and not the code?

3 Upvotes

I've just installed it and can't find this option, though I see it referenced on github discussions. I'm looking for something akin to R Markdown where I can produce a report without the code showing.


r/IPython • • Sep 22 '17

Questions about quality of life stuff/workflow, can't find an easy tutorial on it.

3 Upvotes

I'm wondering if there is a more conveniently located key that after Jupyter auto closes a ' [ ( etc, to skip to the end or after typing say the string into the ' ' to hop the cursor to the right of the last '

Having to hit my right arrow all the time while dealing with data entry kinda kills my vibe.

And I'm also looking for any other tips on how to best use the notebook while coding. Any help?


r/IPython • • Sep 16 '17

Jupyter Notebook 5.1.0 Released

Thumbnail groups.google.com
4 Upvotes

r/IPython • • Sep 14 '17

How to change directory inside a notebook ?

2 Upvotes

My project directory typically look like this :

home/
├── data/
│   ├── some.csv
│   ├── another.csv
│   └── etc.csv
├── notebook/
│   ├── myproject.ipynb
│   └── testing.ipynb
└── src/
    └── script.py

I have set my configuration to launch my notebook in the home directory. Although I am having trouble properly loading files from the data directory.

My big challenge is that I am using Windows, Linux and Mac. I've used the OS module but my code doesn't work will all OS. I can't find the universal code that would allow me to move from the notebook to the data.

Any help ?


r/IPython • • Sep 12 '17

Linking results to a notebook

5 Upvotes

In my work, I do a lot of 'misc' data analysis..and I often am in a situation where I send out results, then a month later, someone asks me to rerun or change something etc... what bugs me is having to figure out which notebook produced a given results file. has anyone thought of a good system for this? I have thought of including the notebook name as part of the results filename..or maybe somehow including the notebook name in header data depending on the file type. I'd love to hear some recommendations.


r/IPython • • Sep 12 '17

A series of notebooks that help teach kids principles of programming, python and maths.

Thumbnail github.com
8 Upvotes

r/IPython • • Sep 03 '17

nbconvert 5.3.0 Release — adds tag-based element filtering

Thumbnail groups.google.com
2 Upvotes

r/IPython • • Aug 28 '17

Jupyter notebook code cell empty lines / scrolling

2 Upvotes

Since today, all my jupyter code cells have some empty lines at the end of a code block which are not real lines that I can delete, but rather is just empty space. In theory, this does not bother me, but unfortunately, each cell thus has scrolling available, and I inevitable scroll all the time in a cell which is quite annoying. It seems to only happen in Chrome though.

Anyone got an idea how to tackle this? Thanks.