Skip to content

Commit ac74fc1

Browse files
Fixed a minor warning
1 parent 4ed22a2 commit ac74fc1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

instance_selection/_CNN.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def filter(self, samples, y):
8484
delete_multiple_element(handbag, indexes)
8585
del handbag
8686
samples = pd.DataFrame(store, columns=self.x_attr)
87-
y = pd.DataFrame(np.array(store_classes).flatten().astype(int))
87+
y = pd.DataFrame(np.array(store_classes, dtype=object).flatten().astype(
88+
int))
8889

8990
return samples, y

0 commit comments

Comments
 (0)