r/IPython • • Dec 23 '19

5 Ways of Debugging with IPython

Thumbnail
switowski.com
7 Upvotes

r/IPython • • Dec 15 '19

Jupyter lab extension for data scientists: what would you like to see?

7 Upvotes

Hello everyone.

I plan to develop an extension of jupyter lab as university side project. Do you have any ideas? Do any of you use Jupyter lab to do some kind of analysis? If yes, which type? What would you like to see? What would you like Jupyter lab to do that it doesn't do now?

For example, Microsoft developed this https://github.com/microsoft/gather to clean cluttered notebooks.

I apologize if this is not the right place to write these things. If this is the case I'll delete the post.


r/IPython • • Nov 15 '19

RISE 5.6.0 is out!

Thumbnail damianavila.github.io
7 Upvotes

r/IPython • • Oct 10 '19

Can anyone tell me what is the purpose for jupyter notebook?

7 Upvotes

I’m just discovering it and it’s gained a lot of popularity in the past couple months.


r/IPython • • Sep 01 '19

FreeCAD Discussion - Developing a Guide on How to use IPython/Jupyter Notebook with FreeCad

Thumbnail
forum.freecadweb.org
7 Upvotes

r/IPython • • Aug 16 '19

Is this impossible? I'm trying to call input() as a triggered event from clicking on a widget (see minimal example). The call to input() is imposed by an external function I cannot modify at the moment, but has nevertheless to be triggered on clicking the button.

Post image
7 Upvotes

r/IPython • • Mar 18 '19

Productivity tips for Jupyter when working in Python & R

Thumbnail
self.datascience
7 Upvotes

r/IPython • • Mar 12 '19

Knitty: Jupyter+Pandoc+IDE power in plain Python/Julia/R/any-kernel-lang. Pandoc filter and Atom/Hydrogen friendly literature programming

7 Upvotes

Knitty is a Pandoc filter and Atom/Hydrogen-friendly reproducible report generation tool via Jupyter, Pandoc and Markdown (fork of the Stitch that is a Knitr-RMarkdown-like library in Python). Insert python code (or other Jupyter kernel code) to the Markdown document or write in plain Python/Julia/R with block-commented Markdown and have code's results in the Pandoc output document.

Knitty is an important part of the Best Python/Jupyter/PyCharm experience + report generation with Pandoc filters (see there why writing in plain Python/Julia/R is great) but actually

Knitty is language agnostic and can be used with any Jupyter kernel. Can be used independently of Pandoctools and with any IDE of choise. So I guess it deserves a separate post. By the way: Atom/Hydrogen is also language agnostic. You can also try VS Code interface to Jupyter from vscode-python instead of Atom/Hydrogen. I highly recommend to try to think about ipynb as merely an output format like pdf instead of main format or intermediate format (albeit ipynb is great for presenting narrative interactively and it can even be much more).

knitty repo.

P.S.

Knitty vs. Knitpy joke.


r/IPython • • Feb 11 '19

Jupyter Portable 1.2 is out

Thumbnail
portabledevapps.net
7 Upvotes

r/IPython • • Feb 08 '19

Jupyter complains of no anaconda3 when anaconda3 was never on my system

7 Upvotes

I'm trying to set up Jupyter, and for the most part it works fine. However, I'm getting this error:

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/tornado/web.py", line 1592, in _execute
    result = yield result
  File "/usr/lib/python3.7/site-packages/tornado/gen.py", line 1133, in run
    value = future.result()
  File "/usr/lib/python3.7/site-packages/tornado/gen.py", line 1141, in run
    yielded = self.gen.throw(*exc_info)
  File "/usr/lib/python3.7/site-packages/notebook/services/sessions/handlers.py", line 73, in post
    type=mtype))
  File "/usr/lib/python3.7/site-packages/tornado/gen.py", line 1133, in run
    value = future.result()
  File "/usr/lib/python3.7/site-packages/tornado/gen.py", line 1141, in run
    yielded = self.gen.throw(*exc_info)
  File "/usr/lib/python3.7/site-packages/notebook/services/sessions/sessionmanager.py", line 79, in create_session
    kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
  File "/usr/lib/python3.7/site-packages/tornado/gen.py", line 1133, in run
    value = future.result()
  File "/usr/lib/python3.7/site-packages/tornado/gen.py", line 1141, in run
    yielded = self.gen.throw(*exc_info)
  File "/usr/lib/python3.7/site-packages/notebook/services/sessions/sessionmanager.py", line 92, in start_kernel_for_session
    self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
  File "/usr/lib/python3.7/site-packages/tornado/gen.py", line 1133, in run
    value = future.result()
  File "/usr/lib/python3.7/site-packages/tornado/gen.py", line 326, in wrapper
    yielded = next(result)
  File "/usr/lib/python3.7/site-packages/notebook/services/kernels/kernelmanager.py", line 160, in start_kernel
    super(MappingKernelManager, self).start_kernel(**kwargs)
  File "/usr/lib/python3.7/site-packages/jupyter_client/multikernelmanager.py", line 110, in start_kernel
    km.start_kernel(**kwargs)
  File "/usr/lib/python3.7/site-packages/jupyter_client/manager.py", line 259, in start_kernel
    **kw)
  File "/usr/lib/python3.7/site-packages/jupyter_client/manager.py", line 204, in _launch_kernel
    return launch_kernel(kernel_cmd, **kw)
  File "/usr/lib/python3.7/site-packages/jupyter_client/launcher.py", line 138, in launch_kernel
    proc = Popen(cmd, **kwargs)
  File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/anaconda3/bin/python': '/home/user/anaconda3/bin/python'

Here's the thing, though: I never had anaconda installed. I installed Jupyter via pip, and I'd rather not try to use anaconda, just because it's much easier to just use my local Python installation.

What should I do to fix this?


r/IPython • • Jan 23 '19

Jupyter + PySpark autocomplete

7 Upvotes

Hi all!

I've installed Jupyter & PySpark using this manual

https://blog.sicara.com/get-started-pyspark-jupyter-guide-tutorial-ae2fe84f594f

All seems to work but I don't have autocomplete for some "nested" functions

For example - running "spark" -> I get spark session

When I press tab after "spark." I get the list of possible suggestions such as "read"

but pressing tab after spark.read. don't show anything. Though I would expect to show options such as "csv", "parquat" etc...

Any idea what do I do wrong?


r/IPython • • Jan 11 '19

Interactive Folium Maps rendered in the Jupyter Notebook

Thumbnail
kyso.io
7 Upvotes

r/IPython • • Sep 24 '18

JupyterCon in New York 2018 - YouTube (complete)

Thumbnail
youtube.com
7 Upvotes

r/IPython • • Sep 19 '18

QtConsole 4.4 Released

Thumbnail
blog.jupyter.org
7 Upvotes

r/IPython • • May 09 '18

Is anybody doing qualitative data analysis in Jupyter / IPython?

7 Upvotes

For R there is the RQDA package and a number of other tools related to qualitative data analysis. There are very few IPython notebooks on the web that deal with qualitative sociological approaches, but most of them are undocumented.

Therefore my question: is anybody doing a qualitative project in a Jupyter notebook? Would you like to present it here and post a short description of what it is about?


r/IPython • • Apr 22 '18

How can I convert my Jupyter notebooks to organizable and searchable documentation such as devdocs.io?

7 Upvotes

Hello guys.I have thousands of code snippets and jupyter notebooks.I want to create easily, organizable, searchable documentation(such as devdocs.io) for this Jupyter notebooks. Are there tools for doing this hard work for me?


r/IPython • • Nov 11 '17

Please help to improve the awesome-jupyter list on github!

7 Upvotes

You can fork and pull-request the github repo, or place the issue to github repo, or post the interesting links here.

Thank you!


r/IPython • • Jul 26 '17

How to prevent (scrollable) sub-window in Jupyter notebooks?

7 Upvotes

I'd like to print everything right into the notebook, not into a scrollable sub-frame, as this really messes up legibility of my notebooks. How can I achieve this?


r/IPython • • Jul 09 '17

NBgrader V0.5.0 Released - An automated grading tool for classrooms

Thumbnail groups.google.com
7 Upvotes

r/IPython • • Feb 08 '17

Why are inline graphics not svg by default?

7 Upvotes

I recently discovered that this gem allows you to render inline plots (matplotlib in my case) as svg, which look 100000x better

%config InlineBackend.figure_format = 'svg'

The default plots are super low-res and don't look professional at all. I'm curious as to why this isn't the default behavior for Jupyter notebooks.


r/IPython • • Jan 28 '17

A Whirlwind Tour of Python by Jake VanderPlas, (Summer 2016)

Thumbnail
nbviewer.jupyter.org
7 Upvotes

r/IPython • • Jan 27 '17

JyputerCon in New York 2017

Thumbnail
conferences.oreilly.com
7 Upvotes

r/IPython • • Dec 21 '16

Security release: Jupyter Notebook 4.3.1

Thumbnail
blog.jupyter.org
7 Upvotes

r/IPython • • Nov 11 '16

How do I run jupyter as a daemon on ubuntu 16.04?

7 Upvotes

So I spun up an EC2 instance and I have jupyter running on port 8888. I start jupyter via command line with

jupyter notebook --config=/home/ubuntu/jupyter_notebook_config.py

But I would like to keep this running as a background process. How do I do that?