Skip to content

Commit

Permalink
Fix bug with unhashable np
Browse files Browse the repository at this point in the history
  • Loading branch information
aPovidlo committed Aug 21, 2024
1 parent 5a7cd7a commit 9053f9f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ def _reasonability_check(features):
non_bool_ids = []

# For every column in table make check
for column_id in range(0, columns_amount):
column = features[:, column_id] if columns_amount > 1 else features.copy()
for column_id, column in enumerate(features._columns):
# column = features[:, column_id] if columns_amount > 1 else features.copy()
if len(set(column)) > 2:
non_bool_ids.append(column_id)
else:
Expand Down

0 comments on commit 9053f9f

Please sign in to comment.