AxisKeys.jl icon indicating copy to clipboard operation
AxisKeys.jl copied to clipboard

support setting a single element by names/keys

Open aplavin opened this issue 3 years ago • 9 comments

As I understand, currently there is no way to set a single value specified by names and keys, as in Nc(obs='a', iter=20, :) .= 1000. This PR adds makes it possible.

It makes named dimensions work the same way as unnamed ones: add : when indexing in order to make a view.

aplavin avatar May 27 '22 05:05 aplavin

nightly test failures seem unrelated

aplavin avatar May 27 '22 05:05 aplavin

bump!

aplavin avatar Jul 01 '22 22:07 aplavin

bump...

aplavin avatar Jul 30 '22 09:07 aplavin

bump...

aplavin avatar Sep 06 '22 13:09 aplavin