1. Learn
  2. /
  3. 课程
  4. /
  5. Introduction to Polars

Connected

道练习

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.

说明 1 / 共 2 个

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