Row Selection with filter

We can use multiple conditions while using filter.

Tidyverse
df %>% 
  filter(
    value_weight > 3,
    value_height > 43)
color size value_weight value_height
red large 8 45
Polars
(df
  .filter( 
    (pl.col("value_weight") > 3) & 
    (pl.col("value_height") > 43)) )
shape: (1, 4)
color size value_weight value_height
str str i64 i64
"red" "large" 8 45