Commit 4be2e38
committed
Disable setting DataArray.dims inplace
The existing behavior was undocumented and non-obvious -- it's not clear
what happens with the associated coordinates (i.e., should it be more
like rename or swap_dims?).1 parent c783c08 commit 4be2e38
2 files changed
Lines changed: 4 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
| 312 | + | |
| 313 | + | |
320 | 314 | | |
321 | 315 | | |
322 | 316 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 72 | + | |
| 73 | + | |
79 | 74 | | |
80 | 75 | | |
81 | 76 | | |
| |||
0 commit comments