This post is tested under Julia v1.6.1 and DataFrames v1.2.0.
Base.filter is suitable for this task.
df = DataFrame( x = [3, 1, 2, 1, 5], y = [“b”, “c”, “a”, “b”, “b”], z = [true, true, false, false, false]
)
julia> df
5×3 DataFrame Row │ x y z │ Int64 String Bool ─────┼───────────────────── …