CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Introduction to Polars

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Select the float columns
print(ev_df.select(____))
Modifier et exécuter le code