Skip to content
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

BUG Deprecating use of bool() on DataFrame, GH #1069 #1073

Merged
merged 2 commits into from
May 7, 2012

Conversation

echlebek
Copy link

Calling bool() on DataFrame raises issues described in #1069. This
change causes DataFrame to raise a ValueError when called with bool(),
and instead provides a new property, dataframe.empty.

Eric Chlebek added 2 commits April 17, 2012 11:02
Calling bool() on DataFrame raises issues described in pandas-dev#1069. This
change causes DataFrame to raise a ValueError when called with bool(),
and instead provides a new property, dataframe.empty.
@wesm
Copy link
Member

wesm commented Apr 18, 2012

This will cause client code to break, but I think it will prevent more bugs in the long run. I'll include it in the upcoming 0.8.0 (May, sometime)

wesm added a commit that referenced this pull request May 7, 2012
wesm added a commit that referenced this pull request May 7, 2012
@wesm wesm merged commit de427aa into pandas-dev:master May 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants