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 4fe1d91 commit f2f6de3Copy full SHA for f2f6de3
onnx_diagnostic/helpers/log_helper.py
@@ -1292,8 +1292,8 @@ def sbs(
1292
1293
new_data = pandas.concat(datas, axis=0)
1294
cube = self.clone(new_data, keys=[*self.keys_no_time, column_name])
1295
- key_index = {c for c in self.keys_time if c not in {*columns_index, column_name}}
1296
- view = CubeViewDef(key_index=key_index, name="sbs", values=cube.values)
+ key_index = set(self.keys_time) - {*columns_index, column_name}
+ view = CubeViewDef(key_index=set(key_index), name="sbs", values=cube.values)
1297
res = cube.view(view)
1298
res = res.stack("METRICS", future_stack=True) # type: ignore[union-attr]
1299
res = res.reorder_levels(
0 commit comments