Skip to content

Commit

Permalink
Load data as pandas dataframe
Browse files Browse the repository at this point in the history
Because some pixels were inferred as categorical.
See also #193
  • Loading branch information
PGijsbers committed Apr 29, 2023
1 parent 05c761a commit c0c7ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/system/test_gama.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


def _gama_on_digits(gama):
X, y = load_digits(return_X_y=True)
X, y = load_digits(return_X_y=True, as_frame=True)
X_train, X_test, y_train, y_test = train_test_split(
X, y, stratify=y, random_state=0
)
Expand Down

0 comments on commit c0c7ea2

Please sign in to comment.