Skip to content

Categorical histplot not working properly with boolean data #3166

Answered by mwaskom
e-pet asked this question in Q&A
Discussion options

You must be logged in to vote

Numpy (and Python in general) upcasts boolean data to numeric dtypes where relevant (True/False are equivalent to 1/0).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@e-pet
Comment options

Answer selected by mwaskom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3165 on November 29, 2022 23:32.