-
Adrian Seyboldt authored
* Allow specification of dims instead of shape * Add pm.TidyData * Create coords for pm.Data(ndarray) * empty commit to trigger CI * Apply suggestions from code review Co-authored-by: Alexandre ANDORRA <andorra.alexandre@gmail.com> * apply black formatting * address review comments & formatting * Add demonstration of named coordinates/dims * don't require dim names to be identifiers * sort imports * raise ShapeError instead of ValueError * formatting * robustify Dtype and ShapeError * Removed TidyData and refined dims and coords implementation * Changed name of kwarg export_dims and improved docstrings * Add link to ArviZ in docstrings * Removed TidyData from __all__ * Polished Data container NB * Fixed line break in data.py * Fix inference of coords for dataframes * Refined Data container NB * Updated getting started NB with new dims and coords features * Reran getting started NB * Blackified NBs * rerun with ArviZ branch * use np.shape to be compatible with tuples/lists * add tests for named coordinate handling * Extended tests for data container Co-authored-by: Michael Osthege <m.osthege@fz-juelich.de> Co-authored-by: Michael Osthege <michael.osthege@outlook.com> Co-authored-by: Alexandre ANDORRA <andorra.alexandre@gmail.com>