Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Almost constant column with repeated floating value raises error #79

Open
lorenz-gorini opened this issue Oct 6, 2020 · 1 comment
Open

Comments

@lorenz-gorini
Copy link
Member

While testing preprocessing pipeline, RuntimeError was raised: RuntimeError: The column "feature_samenum_col" inferred type is floating, but only string and int categorical columns are supported.

The column contains a floating repeated value, along with few errors inserted (invalid values, substrings, ..). It is analyzed as categorical column by _columns_type property.
Should we avoid to raise the error? Or we should consider these particular columns in a different way? (maybe columns with one floating repeated values are very rare because meaningless?)

@lorenz-gorini
Copy link
Member Author

Also a column with integer and NaN seems to have inferred type = floating and it also raise the same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant