Skip to content

Commit

Permalink
update message
Browse files Browse the repository at this point in the history
  • Loading branch information
Davies Liu committed Jun 23, 2015
1 parent af74bd6 commit 9f19beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyspark/sql/column.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def over(self, window):

def __nonzero__(self):
raise ValueError("Cannot convert column into bool: please use '&' for 'and', '|' for 'or', "
"'~'for 'not', when using Column in a boolean expression.")
"'~' for 'not' when building DataFrame boolean expressions.")
__bool__ = __nonzero__

def __repr__(self):
Expand Down

0 comments on commit 9f19beb

Please sign in to comment.