MulaiMulai sekarang secara gratis

Combining selectors

You want to extract different subsets of the electric vehicle dataset for a report. For one table you need performance characteristics which are all float columns. For another table you need the range and price for each vehicle. You notice that the columns you need are either strings or have column names that end with e.

Latihan ini adalah bagian dari kursus

Introduction to Polars

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Select the float columns
print(ev_df.select(____))
Edit dan Jalankan Kode