Skip to content

Commit

Permalink
fix uint as discrete column (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
pplonski committed Jan 11, 2021
1 parent 1d868b0 commit bcc280e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervised/preprocessing/preprocessing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_type(x):
data_type = PreprocessingUtils.CATEGORICAL
if col_type.startswith("float"):
data_type = PreprocessingUtils.CONTINOUS
elif col_type.startswith("int"):
elif col_type.startswith("int") or col_type.startswith("uint"):
data_type = PreprocessingUtils.DISCRETE
elif col_type.startswith("datetime"):
data_type = PreprocessingUtils.DATETIME
Expand Down

0 comments on commit bcc280e

Please sign in to comment.