filter

Filter rows

Retains rows that satisfy the predicate function.

Parameters

Returns

The filtered DataFrame.

Examples

filter(mtcars, \(row) -> row.mpg > 20)

See Also

arrange, select