-
Notifications
You must be signed in to change notification settings - Fork 26
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
OneHotEncodingTransformer fails if there is only one category #119
Comments
Hello @jpcoblentz These messages are not really errors, but rather warnings. They are there to inform about a situation that seems strange but that does not truly prevent the software from running properly. If you want to go a bit further and just silence them, you can execute the following two lines in your python session (or jupyter notebook) and they should go away:
Of course, if the software is not working, in the sense that it is not producing results, please let us know and we'll try to help figure out the problem. |
it's not producing results, after running -- I thought those warnings would be indicative on a larger problem.
Produces
|
Wow, yes, that's a more serious thing. But it's hard to tell what's going on only from the traceback. Would you be able to post a code snippet with the steps that you executed and, if possible, the data that produces the error?Please feel free to join our slack workspace and contact me directly if that makes sharing the data easier. |
I also realized now that you are actually using SDV and the error seems to be raised from RDT, so I'm transferring the issue to SDV to follow up there. |
It seems that the error could be caused by a categorical variable that has only one unique value in it. Here's a reproducible example:
|
Also, since the error actually comes from RDT, I'm transferring again the issue there, where it will be stay until it is fixed. |
Description
Trying to generate synthetic data from a proprietary dataset and running into scipy runtime errors
What I Did
The text was updated successfully, but these errors were encountered: