-
Notifications
You must be signed in to change notification settings - Fork 9
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
bool category not properly parsed #27
Comments
same seems to be the case for dates |
same issue might affect with the Bokeh server?!
|
Thanks for bringing this up. I'm not sure how to handle dates but for booleans I think we can just allow |
gibsramen
added a commit
to gibsramen/evident
that referenced
this issue
Jan 10, 2023
@sjanssen2 Can you try out this change and see if it resolves your boolean issue? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Assume I have a metadata category like
infection
with valuesTRUE
orFALSE
. If I load these data as in your examplemetadata = pd.read_table("data/metadata.tsv", sep="\t", index_col=0)
they are of typeobject
and proper boolean values, i.e.True
andFalse
. If I would add adtype=str
, the values are still of typeobject
but strings, namely'TRUE'
and'FALSE'
.Only the
dtype=str
way works for me. Otherwise evident throws the error:You might want to return a more explicit error message in those cases.
The text was updated successfully, but these errors were encountered: