CommencerCommencer gratuitement

Using a Dtype-specific Expression

When your data is displayed on a web page you notice that some entries in the "style" column begin with an uppercase letter and some with a lowercase letter. You want all rows in lowercase for consistency.

Cet exercice fait partie du cours

Introduction to Polars

Afficher le cours

Instructions

  • Update the "style" column by converting all rows to lowercase.

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Ensure all style rows are lowercase
print(ev_df____)
Modifier et exécuter le code