Simon Heybrock
Simon Heybrock
Current idea is as follows: Make this explicit, in the same way reduction ops such as sum do it: ```python da.sum() # dim=None means all dims da.sum('x') # sum only...
> Not sure I follow: would dim now be a special argument, meaning that you cannot hist using a dimension that has name dim? Yes it would be a special...
I think the original solution I had in mind was supporting runtime component (field) names. Right now `StructureArrayModel` hard-codes those at compile time, but in principle this could be changed....
I think we should *not* use `to` (or `astype`), as it discards information. An explicitly named function should be preferred if something like this is added. > I need to...
Would you convert to an unaligned coord, such that you can still to `da - da.max()`?
Have you thought about the cost? This would probably be significantly more expensive to implement?
One could make it on opt-in keyword arg?
Wouldn't the only alternative be to embed the CSS, which may have bad size implications in long notebooks?
I was actually wondering if `unit` and `dtype` should just resolve to the elem-unit and elem-dtype?