filter
Returns DataFrame
with rows that satisfy row condition
Properties
Strings
df.filter { age > 18 && name.firstName.startsWith("A") }
df.filter { "age"<Int>() > 18 && "name"["firstName"]<String>().startsWith("A") }
Returns DataFrame
with rows that have value true
in the given column of type Boolean
.
See column selectors for how to select the column for this operation.
Properties
Strings
df.filterBy { isHappy }
df.filterBy("isHappy")