1. Học hỏi
  2. /
  3. Khoa Học
  4. /
  5. Introduction to Polars

Connected

Bài tập

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.

Hướng dẫn 1/2

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