ComeçarComece de graça

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

Ver curso

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))
Editar e executar o código