Skip to content

Commit ecb3a40

Browse files
authored
Fix failing test (#16792)
1 parent 409066b commit ecb3a40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

h2o-py/tests/testdir_misc/explain/pyunit_SHAP.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def naiveBSHAP(mod, y, train, test, xrow, brow, link=False):
262262
df = pd.concat([b for _ in range(len(pset))], ignore_index=True)
263263
for row in tqdm(range(df.shape[0]), desc="Creating data frame", leave=False):
264264
for col in pset[row]:
265-
df.loc[row, col] = x[col].values
265+
df.loc[row, col] = x.loc[0, col]
266266

267267
df = h2o.H2OFrame(df, column_types=train.types)
268268

0 commit comments

Comments
 (0)