BaşlayınÜcretsiz Başlayın

What drives EV prices?

In this exercise, you want to understand the relationship between range and price of the vehicles.

For this exercise there is a pre-created lazy query called ev_df that starts with a scan of the CSV followed by a .select() of the brand, model, range, and price columns.

Bu egzersiz

Introduction to Polars

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

range_ev_df = (
    ev_df
    # Add a euro_per_range column
   .with_columns(
       (____/____).alias("euro_per_range")
   )
)

# Order by the euro_per_range column
range_ev_df = range_ev_df.____
Kodu Düzenle ve Çalıştır