Searching text
You're continuing to analyze the beauty product reviews dataset. The marketing team is launching a new perfume line and wants to understand what customers say about scents in existing products.
The reviews DataFrame is available with 5 rows printed to preview.
Deze oefening maakt deel uit van de cursus
Data Transformation with Polars
Oefeninstructies
- Filter for reviews that mention
"scent".
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Filter for reviews containing "scent"
reviews.filter(
pl.col("review").____.____("____")
)