Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions python/pyspark/sql/column.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,10 @@ def isin(self, *cols):

isNull = _unary_op("isNull", "True if the current expression is null.")
isNotNull = _unary_op("isNotNull", "True if the current expression is not null.")
isNaN = _unary_op("isNaN", "True if the current expression is NaN.")
isnull = _unary_op("isNull", "True if the current expression is null.")
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe have a comment that says this is for pandas API compat? Since skimming the code it looks a little of of place with the rest of the functions. Just a thought.

notnull = _unary_op("isNotNull", "True if the current expression is not null.")
isnan = _unary_op("isNaN", "True if the current expression is NaN.")

@since(1.3)
def alias(self, *alias):
Expand Down