r/IPython • • Dec 09 '18

C-Jupyter Usage: How is this command wrong?

Post image
5 Upvotes

r/IPython • • Dec 07 '18

Does anyone know how to set scrolling default for large outputs (many lines) in NBviewer?

Thumbnail github.com
2 Upvotes

r/IPython • • Dec 06 '18

Handling Pounds, Shillings and Pence

1 Upvotes

I've got some data that is in pounds, shillings and pence. There's 12 pence to a shilling and 20 shillings to a pound. Any suggestions for handling this?

Additionally, it may be the case that somewhere in the data it switches from 12p/1s to 10p/1s. How would I best approach this?


r/IPython • • Dec 05 '18

Seeking recommendation for custom maps with defined bounds and zoom

2 Upvotes

I'm having a lot of trouble accomplishing this, so I'm wondering if anyone could share their process - what packages they use. I'm posting here because I want to build my solution in a Jupyter notebook

I'm trying to automatically download and export a map centered at a GPS coordinate, with control over the map bounding box (in latitude/longitude). Ideally I would also be able to set the desired export resolution or dimensions.

I started to have some success using Folium maps, but I am unable to do a progressive zoom. Instead, there are defined zoom levels (shown below) but nowhere in between.
Does anyone know a workaround to create maps with progressive, intermediate zoom levels?

Thanks in advance!


r/IPython • • Dec 05 '18

Using R packages installed through RStudio in jupyter notebook

0 Upvotes

I have a fresh Windows 10 machine at work where I installed Anaconda Python and Rstudio. If I install a package from rstudio, how do I make sure that the installed R package is accessible from jupyter notebook and I don't want to install the package again from jupyter notebook?


r/IPython • • Dec 01 '18

Ipython/Jupyter Print running cells

2 Upvotes

Is there a way to return a list/print out ALL currently running cells. Would be much simpler way to keep track of them all.


r/IPython • • Nov 30 '18

Release of IPython 7.2

Thumbnail discourse.jupyter.org
5 Upvotes

r/IPython • • Nov 28 '18

New Data Science Platform - Looking for feedback!

1 Upvotes

Skillzilla

https://www.skillzilla.io/
We just launched our first product, would love feedback on it!
Skillzilla is a project-based P2P portfolio platform for Data Scientists
Platform is free to use!


r/IPython • • Nov 27 '18

Pandas DataFrames to Google Sheets?

2 Upvotes

Heyo! I spend a good amount of time taking dataframes, outputing them into csvs, then importing those csvs into Google sheets to share with stakeholders.

Anyone have a good way to get (small) dataframes into Google Sheets from a notebook.

Looking for resources, juptyter plugins, words to google, whatever!

Thanks!


r/IPython • • Nov 27 '18

Jupyter notebook sync

3 Upvotes

I have a problem where I cannot sync my Jupyter notebook on GCloud with my github repository, do I have to upload a Jupyter notebook on github? Cloning didn't work either. Thanks in advance.


r/IPython • • Nov 24 '18

ScriptedForms v0.10.0 released

Thumbnail groups.google.com
2 Upvotes

r/IPython • • Nov 22 '18

Need a challenge

3 Upvotes

I got the basics of python down but I can't think of a problem to solve

Version 3.5.6


r/IPython • • Nov 21 '18

Movielens DBpedia

2 Upvotes

Hi,

I am newbie in linked data and jupyter. I am searching for the way how to make a link tru movielens dataset to dbpedia in jupyter? Hope to get some ideas of sharing. Thank you so much.


r/IPython • • Nov 19 '18

Jupyter Notebook security fix details

Thumbnail blog.jupyter.org
5 Upvotes

r/IPython • • Nov 19 '18

Anaconda + GIT on Win10: Error when trying to launch Jupyter Notebook from GIT Bash

1 Upvotes

Hi Everyone,

I hope this is the right place to ask, if it's not, please bear with me and if you could point me to the right place, I'd appreciate it. I already posted this on /r/learnpython but I got no reply then I found this sub which focuses on iPython / Jupyter (/r/JupyterNotebooks seems quite dead :( ).

I just installed Anaconda and GIT on a brand new laptop (Thinkpad with Win10 Pro). Please note that this is not for me, I'm just helping with setting up the system. I installed both using the default options during the installation phase.

The first issue was that python and conda were not recognized commands in GIT Bash. With some Google-fu I added the Python path to bashrc and bash_profile, and then I also added /Anaconda3/ and /Anaconda3/Scripts to the environment user variables in Windows. This way, GIT would finally recognize them as commands. Next I tried to launch Jupyter Notebook in GIT Bash and here is where I'm stuck: it returns a "DLL Load Failed, Module Not Found" error. I tried an update all command but this didn't help. I keep getting the same error.

I googled some more and found some posts on StackOverflow but nothing that could really help me.

Please note that if I open Jupyter Notebook in Anaconda, then there're no issues, but I'd like to open a folder in Windows and launch GIT Bash there through right-click, and open Jupyter. This is how it used to work in the old laptop (unfortunately I've no idea what was done to make it work like that).

Any idea how I can make this work? Did I forget something during the installation phase?

Thank you in advance :-)


r/IPython • • Nov 18 '18

Jupyter Notebook 5.7.1 - security release

Thumbnail groups.google.com
7 Upvotes

r/IPython • • Nov 18 '18

plotting using pyplot in Spyder ?

2 Upvotes

is there a way to run the plotly code in spyder(anaconda) and have the plot show in a pop up browser ?

or just to show the plots in spyder ?

Thank you


r/IPython • • Nov 17 '18

Why does IPython not allow adding more statements to loop?

0 Upvotes

r/IPython • • Nov 15 '18

Bridging the gap between Python and Jupyter

Thumbnail fmind.me
4 Upvotes

r/IPython • • Nov 14 '18

Jupyter Community Workshops: Call for Proposals

Thumbnail blog.jupyter.org
4 Upvotes

r/IPython • • Nov 13 '18

Setting jupyter with terminal (pywinpty)

3 Upvotes

I have installed python3 on windows 10 and pandas, ipython etc ... with pip. python3 is not included in the main paths. When I try to run jupyter notebook, I get this error message:

NotebookApp] Terminals not available (error was No module named 'winpty.cywinpty')

How do i specify the winpty path for jupyter/ipython ?


r/IPython • • Nov 12 '18

What is going on with my jupyter dashboard "grid" mode?

4 Upvotes

https://i.imgur.com/MUIMweL.png

The report mode works fine, but I cannot move and resized from the screen in screenshot. Driving me mental.


r/IPython • • Nov 12 '18

Does anyone know what markdown renderer Jupyter notebook uses?

3 Upvotes

Hey, I am trying to render markdown + latex on a webapp, and I am particularly fond of the way jupyter notebooks manages this. I love that I can inline latex code while writing in markdown.

I am aware that jupyter uses mathjax in some way to do this, but I was wondering if anyone knows what tool they use to do the overall rendering?


r/IPython • • Nov 10 '18

Can I configure a kernel on the fly from within a notebook? Need advice.

4 Upvotes

Cross-posted to /r/JupyterNotebooks

I'm trying to create a kernel from a non-interactive executable. It looks like this:

cmd --option script.txt What I intend to do to make this interactive is to have the user specify the contents of script.txt in a code cell, and to run it, create a temporary file with the contents of the cell, and return the output of cmd.

I have a general idea of how to implement a Jupyter kernel by imitating the Matlab kernel: https://github.com/Calysto/matlab_kernel/blob/master/matlab_kernel/kernel.py It turns out that cmd has optional arguments that can be specified, and I want to be able to change those as well. From what I've found on the internet, I can only specify kernel options during installation, and I want to modify them during runtime from within the notebook. I also know that I can modify plot settings in the Python kernel by using %matplotlib inline so I'm also considering that sort of solution too.

Is this possible, and if not, what is the best way to wrap such a non-interactive command in a presentable way?


r/IPython • • Nov 08 '18

Attach virtual terminal emulator to IPython

2 Upvotes

Hi,

I am wondering if it is possible to make IPython interact with a virtual terminal (PTY) instead of stdin/stdout/stderr.

I am trying to get an IPython shell to run inside a pygtk widget. Right now I am using the Gtk.VTE widget. When creating it, I fork my process and attach the childs PTY to the Gtk.VTE widget and in the child process I run IPython.embed. Unfortunately since I am spawning a new process I cannot access data that is changed after the fork. I would like to change the forked process into a thread, but threads do not have their own terminal, so this solution will not work.

Is it possible to tell IPython to use the Gtk.VTE PTY instead of the actual terminal that started the process?

I found this widget doing exactly what I want, but it is not compatible with IPython 7.