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

Connected

Exercise

Transforming Data

You are asked to provide an analysis of the range of the electric vehicles for a client in the United States. However, the range data is given in kilometers and you are asked to convert this to range in miles.

Instructions 1/3

undefined XP
    1
    2
    3
  • Select the "brand","model" and "range" columns with the "range" column as an expression.
  • Convert the "range" column from kilometers to miles using the given scaling factor.