Filtering a DataFrame column using Regex

Not doesn’t work like that. The way you are working with Not is similar to a workflow one might use with selecting columns, not rows.

You want occursin

julia> filter(:Sites => t -> occursin(r"N", t) == false, df)
1 Like