Skip to content

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

2 participants