-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add typed collection from par iterators #15961
Conversation
// })? | ||
let out: ListChunked = POOL.install(|| iter.collect::<PolarsResult<_>>())?; | ||
|
||
#[cfg(debug_assertions)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently not enforced yet in release
. Will make the switch after a while.
@@ -459,16 +459,6 @@ pub fn repeat(value: PyExpr, n: PyExpr, dtype: Option<Wrap<DataType>>) -> PyResu | |||
value = value.cast(dtype.0); | |||
} | |||
|
|||
if let Expr::Literal(lv) = &value { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be left to dynamic int.
CodSpeed Performance ReportMerging #15961 will improve performances by 24.86%Comparing Summary
Benchmarks breakdown
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15961 +/- ##
==========================================
+ Coverage 81.29% 81.33% +0.04%
==========================================
Files 1381 1381
Lines 176855 176955 +100
Branches 3042 3043 +1
==========================================
+ Hits 143766 143927 +161
+ Misses 32606 32545 -61
Partials 483 483
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This will ensure we keep the
dtype
equal to the schema.