cobra icon indicating copy to clipboard operation
cobra copied to clipboard

Warn user when trying to preprocess unsupported datatypes

Open sandervh14 opened this issue 2 years ago • 2 comments

I often get questions about the exotic errors thrown when users call Cobra's preprocessor. The error messages are too exotic for developers to understand that the datatypes they are passing are not supported. Most of the time this is just datetime & panda's categorical datatypes. Best would be to throw a warning at the start of the preprocessing if any variables are of the above types, before jumping into the actual preprocessing. Other thing to look into is if we can't start supporting panda's categorical datatype.

sandervh14 avatar Mar 16 '22 09:03 sandervh14