We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c158719 commit cbc02e3Copy full SHA for cbc02e3
1 file changed
xarray/core/variable.py
@@ -2484,7 +2484,7 @@ def rolling_window(
2484
pads[d] = (win - 1, 0)
2485
2486
padded = var.pad(pads, mode="constant", constant_values=fill_value)
2487
- axis = [self.get_axis_num(d) for d in dim]
+ axis = tuple(self.get_axis_num(d) for d in dim)
2488
new_dims = self.dims + tuple(window_dim)
2489
return Variable(
2490
new_dims,
0 commit comments