pyspark.sql.functions.
bitwiseNOT
Computes bitwise not.
New in version 1.4.0.
Changed in version 3.4.0: Supports Spark Connect.
Deprecated since version 3.2.0: Use bitwise_not() instead.
bitwise_not()