Provide DataArray.axis as an attribute computed on-demand.
llvilanova opened this issue · 1 comments
llvilanova commented
This should provide faster object creation (e.g., routines internally creating temporary DataArray objects), as the 'axis' attribute is expected to be scarcely used by the user, and it can always be cached after computation.
terhorst commented
DataArray.axis
is now deprecated in favor of DataArray.axes