Transforming Multiple Columns
You want to transform your data from kilometers to miles for an American client. You want do it in an efficient way that applies the same transformation to multiple columns.
Cet exercice fait partie du cours
Introduction to Polars
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Convert top_speed and range to miles
print(ev_df.with_columns(____*1.61))