All docs
Column·
method
Column.is_valid
a bool column, true where the value is present (not null)
Python
is_valid() -> Column
Returns Column — a boolean Column, true where the value is not null
Example#
Python
t.filter(t["name"].is_valid()) # drop rows whose name is null
Combine it with other conditions:
Python
t.filter((t["score"] > 10) & t["name"].is_valid())
Notes#
Produces a boolean Column (a mask) you pass to filter. It is the
exact complement of is_null.
See also#
API: is_null · Table.filter · Column
Guides: Tables & data flow · Clean a CSV
By LSD Team · Last updated Jul 17, 2026
Ask on Discord
View as Markdown