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.
This exercise is part of the course
Introduction to Polars
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Convert top_speed and range to miles
print(ev_df.with_columns(____*1.61))