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

Transforming Data with an Expression

You have a client in the road safety sector who needs data on the acceleration of each electric vehicle. The acceleration data is given in the number of seconds taken to reach 100 km/h speed. The data is given to one decimal place, but this is more accuracy than you need.

Bu egzersiz

Introduction to Polars

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

Egzersiz talimatları

  • Select the "brand","model" and "accel" columns where the acceleration is rounded to the nearest integer.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Select the brand, model and rounded accel columns
print(ev_df.select(____))
Kodu Düzenle ve Çalıştır