Skip to content

Commit e5333fa

Browse files
committed
small tweaks
1 parent cf9e86a commit e5333fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

properties/test_index_manipulation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def add_dim_coord(self, var):
6363
assume(np.all(~np.isnat(var.data)) if var.dtype.kind in ["mM"] else True)
6464

6565
(name,) = var.dims
66-
note(f"setting {name}")
66+
note(f"adding dimension coordinate {name}")
6767
# dim coord
6868
self.dataset[name] = var
6969
# non-dim coord of same size; this allows renaming
@@ -210,6 +210,7 @@ def swappable_dims(self):
210210
return options
211211

212212
@rule(data=st.data())
213+
# TODO: swap_dims is basically all broken if a multiindex is present
213214
# TODO: Avoid swapping from Index to a MultiIndex level
214215
# TODO: Avoid swapping from MultiIndex to a level of the same MultiIndex
215216
# TODO: Avoid swapping when a MultiIndex is present

0 commit comments

Comments
 (0)