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.
Este exercício faz parte do curso
Introduction to Polars
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
# Convert top_speed and range to miles
print(ev_df.with_columns(____*1.61))