Transforming Data
You are asked to provide an analysis of the range of the electric vehicles for a client in the United States. However, the range data is given in kilometers and you are asked to convert this to range in miles.
Este ejercicio forma parte del curso
Introduction to Polars
ejercicio interactivo práctico
Prueba este ejercicio completando este código de ejemplo.
# There are 1.609 kilometers in a mile
MILES_TO_KILOMETERS = 1.609
# Select the columns with range converted to miles
range_df = ev_df.select(____, ____, ____ / MILES_TO_KILOMETERS)
print(range_df)