tritemio / pybroom

pybroom, the python's broom to tidy up messy fit results!
http://pybroom.readthedocs.io/
MIT License
14 stars 5 forks source link

Add some advanced examples #8

Open has2k1 opened 7 years ago

has2k1 commented 7 years ago

Some of the pieces are not yet in place, but when they are, the examples should show where pybroom fits in the workflow. The overview of the workflow is:

  1. original data -> model results (stat model e.g lmfit, ..)
  2. model results -> model data (pybroom)
  3. original data + model data -> combined data (nest, unnest)
  4. combined data -> plot/analysis (matplotlib, seaborn, plotnine, ...)

The missing pieces are nest and unnest methods. There will be python versions of the methods in tidyr, but I think I'll add them to plydata.