IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Introduction to Polars

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Extract the brand, model and price columns
print(ev_df____)
Modifica ed esegui il codice