Re:JupyterCon: I don't like Notebooks [slides]
by cdancette on Tuesday August 28, 2018 @10:08AM
(#17858857)
If you work with image processing, notebooks are very handy as they can display images directly. Also to display tables nicely with pandas, or for any data visualization actually.
Re:JupyterCon: I don't like Notebooks [slides]
by bunderbunder on Tuesday August 28, 2018 @10:33AM
(#17859041)
That's my problem. I agree that notebooks create a troublesome dev situation, but "%matplotlib inline" and stuff like the pivot table plugin keep me crawling back.
Re:JupyterCon: I don't like Notebooks [slides]
by srean on Tuesday August 28, 2018 @12:28PM
(#17860171)
Doesn't IPython repl running in a QTconsole terminal do that ?
Re:JupyterCon: I don't like Notebooks [slides]
by cdancette on Thursday August 30, 2018 @07:22PM
(#17881697)
Yeah but it's less nice, and if you're running on a distant server you have to deal with X forwarding
Re:JupyterCon: I don't like Notebooks [slides]
by kovek on Tuesday August 28, 2018 @10:40AM
(#17859102)
Will the REPL allow you to easily edit function definitions and then reinterpret them?
Re:JupyterCon: I don't like Notebooks [slides]
by rspeer on Tuesday August 28, 2018 @11:08AM
(#17859357)
I mean Jupyter doesn't really do that either, right? You can't edit most function definitions. Only ones that you've defined right there in the notebook, and only because you can run the cell that defines them again, overwriting the function.
But if you do use libraries instead of just a huge mess of notebooks, you're stuck if you want to change the code in a well-supported way. You can ask your notebook to monkey-patch the code (which is an even bigger mess), or you can use an unreliable magic extension, "%autoreload".
The only thing I would use notebooks for is demonstration / teaching.