BaşlayınÜcretsiz başlayın

Reading the naive plan

The team wants to understand how Polars sees a query before any data is read. Printing a LazyFrame shows the naive plan: your code reflected back in the order you wrote it, with no optimizations applied.

polars is loaded as pl, and the LazyFrame top_titles_by_format is available. It computes the top 5 digital formats by number of unique titles.

Bu egzersiz, kursun bir parçasıdır

Scaling and Optimizing Data Pipelines with Polars

Kursa Göz Atın

Egzersiz talimatları

  • Show the naive plan for top_titles_by_format.

Uygulamalı etkileşimli egzersiz

Bu egzersizi bu örnek kodu tamamlayarak deneyin.

# Show the naive plan
____(top_titles_by_format)
Kodu Düzenle ve Çalıştır