not
Returns a DataColumn containing the inverse Boolean values of this DataColumn.
Each element in this column is transformed using the logical not operation: true becomes false, and false becomes true.
For more information: See not on the documentation website.
Example
// Given a DataFrame of financial transactions,
// find which transactions failed
df.select { !isSuccessful }
// or
!df.isSuccessfulReturn
A DataColumn containing the negated Boolean values of this column.
Returns a DataColumn containing the inverse Boolean values of this DataColumn. Each null value in the original DataColumn is preserved.
Non-null values are transformed using the logical not operation: true becomes false, and false becomes true. null values remain null.
For more information: See not on the documentation website.
Example
// Given a DataFrame of financial transactions,
// find which transactions failed
df.select { !isSuccessful }
// or
!df.isSuccessfulReturn
A DataColumn containing the negated Boolean values of this column, while preserving null values.
Returns a ColumnReference containing the inverse Boolean values of this ColumnReference.
Each value in this reference is transformed using the logical not operation: true becomes false, and false becomes true.
For more information: See not on the documentation website.
Example
// Given a DataFrame of financial transactions,
// find which transactions failed
df.select { !isSuccessful }
// or
!df.isSuccessfulReturn
A ColumnReference containing the negated Boolean values of this reference.
Returns a ColumnReference containing the inverse Boolean values of this ColumnReference. Each null value in the original ColumnReference is preserved.
Non-null values are transformed using the logical not operation: true becomes false, and false becomes true. null values remain null.
For more information: See not on the documentation website.
Example
// Given a DataFrame of financial transactions,
// find which transactions failed
df.select { !isSuccessful }
// or
!df.isSuccessfulReturn
A ColumnReference containing the negated Boolean values of the original reference, while preserving null values.