não é nulo
Verifique se o valor da coluna não é nulo.
Sintaxe
Python
isNotNull()
Devoluções
Coluna (Booleana)
Exemplos
Python
from pyspark.sql import Row
df = spark.createDataFrame([Row(name='Tom', height=80), Row(name='Alice', height=None)])
df.filter(df.height.isNotNull()).collect()
Output
# [Row(name='Tom', height=80)]