ComenzarEmpieza gratis

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.

Este ejercicio forma parte del curso

Data Transformation with Polars

Ver curso

Instrucciones del ejercicio

  • Filter for reviews that mention "scent".

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

# Filter for reviews containing "scent"
reviews.filter(
    pl.col("review").____.____("____")
)
Editar y ejecutar código