ComeçarComece de graça

Aggregating a column

You are asked to provide some details for a report on developments in the electric vehicle market in terms of how expensive they can be and how far they can travel.

Este exercício faz parte do curso

Introduction to Polars

Ver curso

Instruções do exercício

  • Create a one row DataFrame with the maximum value of the "price" column and the mean of the "range" column.

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

# Print the max of the price and mean of the range
print(ev_df.select(____))
Editar e executar o código