CommencerCommencer gratuitement

Subsetting a DataFrame with bracket notation

Your client has requested a focused report showing only key information about each vehicle. You want to extract targeted subsets of the electric vehicle dataset for this analysis.

The dataset is loaded for you in a DataFrame called ev_df.

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.

# Extract the brand, model and price columns
print(ev_df____)
Modifier et exécuter le code