[IPython-dev] How to use notebooks with teams

Andrew Payne andy at payne.org
Fri Jul 18 11:35:04 EDT 2014


Addressing part of your question, you wrote:

Is there a way to make notebooks parameterizeable?  I would like to
> build notebooks that performs some common analysis, and I want the
> business user to be able to tweak a couple of parameters, then re-run
> the notebook and see the new report.   If users aren't writing new code,
> just changing parameters, there will be fewer opportunities for merging and
> merge conflicts or file clobbering.
>

You might consider using widgets for this.  See:
http://nbviewer.ipython.org/github/ipython/ipython/blob/master/examples/Interactive%20Widgets/Index.ipynb

You could have a set of widgets at the top of the notebook that capture the
tweakable parameters.  Your business user would set those, and run the
notebook.

-andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140718/219df65a/attachment.html>


More information about the IPython-dev mailing list