Skip to content

Commit bcf452a

Browse files
committed
minor revision
1 parent 1e7ae9e commit bcf452a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklbench/datasets/downloaders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def fetch_and_correct_openml(
109109
if isinstance(x, pd.DataFrame):
110110
if any(pd.api.types.is_sparse(x[col]) for col in x.columns):
111111
x = x.sparse.to_dense()
112-
if not as_frame:
112+
if as_frame is not True:
113113
x = x.to_numpy()
114114

115115
# Convert y to numpy array if needed

0 commit comments

Comments
 (0)