You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ds.coords["1"] = ("1", np.array([1], dtype=np.uint32)) creates an index by default (setting a dimension coordinate)
since the index refactor ds = ds.rename_vars({"1": "0"}) preserves the coordinate index
_assert_internal_invariants(ds, check_default_indexes=True) fails as expected (presence of a non-dimension index after renaming the coordinate "1" -> "0".
What happened?
(xref #8658)
I'm not sure what the expected behaviour is here:
It looks like this sequence of operations creates a default index

But then
fails with
The text was updated successfully, but these errors were encountered: