Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Introduction to Polars

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Select the float columns
print(ev_df.select(____))
Code bewerken en uitvoeren