---
title: isNotNull
description: "Column.isNotNull method in PySpark: Check if the column value is not null."
canonical_url: https://docs.databricks.com/gcp/en/pyspark/reference/classes/column/isNotNull
---

# isNotNull

Check if the column value is not null.

## Syntax

```python
isNotNull()
```

## Returns

Column (boolean)

## Examples

```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)]
```
