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

Connected

练习

Extreme values in a DataFrame

A luxury car dealership and a budget-focused client have both approached you with opposite needs. One wants to showcase premium EVs while the other needs affordable options.

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

说明 1 / 共 2 个

undefined XP
  • 1
    • Find and print the rows with the four most expensive vehicles by "price".
  • 2
    • Find and print the rows with the four cheapest vehicles by "price".