Skip to content

describe() outputs bool as categorical #12458

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

Closed
wants to merge 1 commit into from
Closed

Conversation

vii
Copy link

@vii vii commented Feb 26, 2016

@vii vii force-pushed the master branch 2 times, most recently from 0fc0227 to eaf82d4 Compare February 26, 2016 18:45
@vii vii changed the title describe() treats bool as categorical, and prints second most frequen… describe() outputs bool as categorical Feb 26, 2016
# string data isn't
self.assert_numpy_array_equal(df.describe().columns, [
'bool_data', 'int_data'])
# Integer data are included in .describe() output,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ideally construct a comparison frame here and use assert_frame_equal.

add the issue number as a comment

@jreback
Copy link
Contributor

jreback commented Feb 26, 2016

pls add a whatsnew entry. put in API changes.

@jreback jreback added Enhancement Dtype Conversions Unexpected or buggy dtype conversions Numeric Operations Arithmetic, Comparison, and Logical operations labels Feb 26, 2016
@jreback jreback closed this in bcc987c Feb 27, 2016
@jreback
Copy link
Contributor

jreback commented Feb 27, 2016

thanks @vii

@jreback jreback added this to the 0.18.0 milestone Feb 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dtype Conversions Unexpected or buggy dtype conversions Enhancement Numeric Operations Arithmetic, Comparison, and Logical operations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

describe() for boolean series
2 participants