Skip to content

Commit 61ea4d4

Browse files
committed
Using numpy arrays instead of dataframes
1 parent f3cafc7 commit 61ea4d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

experiment/test_population.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def test_population(ml):
4646
# Few samples to try to make it quick
4747
sample_idx = np.random.choice(np.arange(len(X_train)), size=10)
4848

49-
y_train = y_train[sample_idx]
49+
y_train = y_train[sample_idx].values
5050
X_train = X_train.iloc[sample_idx]
5151

5252
algorithm.est.fit(X_train, y_train)

0 commit comments

Comments
 (0)