LoslegenKostenlos starten

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.

Diese Übung ist Teil des Kurses

<Kurs>Data Transformation with Polars</Kurs>
Kurs ansehen

Übungsanweisungen

  • Filter for reviews that mention "scent".

Interaktive praktische Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Filter for reviews containing "scent"
reviews.filter(
    pl.col("review").____.____("____")
)
Code bearbeiten und ausführen