ComenzarEmpieza gratis

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 ejercicio forma parte del curso

Introduction to Polars

Ver curso

Instrucciones del ejercicio

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

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

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