1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Introduction to Polars

Connected

अभ्यास

Creating a Lazy Query

You are asked to provide details on the range of electric vehicles for each model for a pre-sales opportunity. As you only need a subset of columns from the CSV you want to write this as a lazy query to take advantage of query optimization.

निर्देश 1/2

undefined XP
    1
    2
  • Create a lazy query from "electric_vehicles.csv" that selects the "brand","model","range" columns.
  • Execute the lazy query to return a DataFrame.