filter
Returns DataFrame
with rows that satisfy row condition
df.filter { age > 18 && name.firstName.startsWith("A") }
df.filter { "age"<Int>() > 18 && "name"["firstName"]<String>().startsWith("A") }
filterBy
Returns DataFrame
with rows that have value true
in given column of type Boolean
.
df.filterBy { isHappy }
df.filterBy("isHappy")
20 May 2025