1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Polars

Connected

Exercise

Select a subset of columns with .select()

A fleet management client is particularly interested in how vehicle performance relates to price. You need to know if faster acceleration justifies higher prices across different models in ev_df.

Instructions 1/2

undefined XP
    1
    2
  • Select the "model","accel","price" columns (in that order) using the .select() method.