[IPython-dev] Some new cell types for describing data analyses in IPy. Notebook

Stephen Chan sychan at lbl.gov
Wed Jul 10 15:37:56 EDT 2013

On Tue, Jul 9, 2013 at 7:32 PM, Brian Granger <ellisonbg at gmail.com> wrote:
> It would be nice to write a long notebook and then add metadata to the
> notebook that indicates that some variables are to be treated as
> "templated" variables.  Then we would create tools that would enable a
> user to run a notebook over a range of templates:
> for x in xvars:
>   for y in yvars:
>     for algo in myalgos
>     run_notebook('MyCoolCode', x, y, algo)
> The result would be **something** that allows the user to explore the
> parameter space represented.  A single notebook would be used as the
> "source" for this analysis and the result would be the set of all

    I think this would be really useful, and it would really promote
the use of notebooks as re-usable "recipes" to provide usable code for
non-code savvy users. Its not hard to imagine a tool that examines the
metadata of a notebook and brings up a form (in whatever the current
presentation environment may be) for a non-coder to re-use the code
developed by someone else.
    You might also want to be able to grab the results of the final
output cell and make that available as input to other notebooks.


More information about the IPython-dev mailing list