• Adrian Seyboldt's avatar
    Allow specification of dims instead of shape (#3551) · 76f3a7b7
    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: default avatarAlexandre 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: default avatarMichael Osthege <m.osthege@fz-juelich.de>
    Co-authored-by: default avatarMichael Osthege <michael.osthege@outlook.com>
    Co-authored-by: default avatarAlexandre ANDORRA <andorra.alexandre@gmail.com>
    76f3a7b7
exceptions.py 2.26 KB