Skip to content

Commit d554f41

Browse files
committed
Update return statement
1 parent c98811c commit d554f41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sklbench/datasets/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def preprocess_x(
237237
if scaler is not None:
238238
x = pd.DataFrame(scaler.fit_transform(x), columns=x.columns, index=x.index)
239239
if return_type == np.ndarray:
240-
return x.values
240+
return np.array(x)
241241
else:
242242
return x
243243

0 commit comments

Comments
 (0)