pola-rs / polars

Dataframes powered by a multithreaded, vectorized query engine, written in Rust
https://docs.pola.rs
Other
26.9k stars 1.65k forks source link

perf(python): Further optimise initial `polars` import #16308

Closed alexander-beedie closed 2 weeks ago

alexander-beedie commented 2 weeks ago

Shaves another few ms off the initial polars import; definitely don't need Excel utility functions in the top-level DataFrame imports, and can avoid a premature io utils import too.

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.77%. Comparing base (6d48c11) to head (3c238f0). Report is 6 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #16308 +/- ## ========================================== - Coverage 80.78% 80.77% -0.01% ========================================== Files 1393 1393 Lines 179362 179416 +54 Branches 2921 2921 ========================================== + Hits 144894 144926 +32 - Misses 33965 33987 +22 Partials 503 503 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.