1. Învăţa
  2. /
  3. Courses
  4. /
  5. Introduction to Polars

Connected

exercise

Combining selectors

You want to extract different subsets of the electric vehicle dataset for a report. For one table you need performance characteristics which are all float columns. For another table you need the range and price for each vehicle. You notice that the columns you need are either strings or have column names that end with e.

Instrucțiuni 1 / 2

undefined XP
  • 1
    • Select all .float() columns to get the performance characteristics.
  • 2
    • Select all .string() columns along with the columns that .ends_with() "e" using selectors.