-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Improve list builders, iteration and construction #3419
Conversation
- Greatly improves performance of the list builders by: jorgecarleitao/arrow2#991 - List builders now also support nested dtypes like List and Struct - Python DataFrame and Series constructor now support better nested dtype construction
Codecov Report
@@ Coverage Diff @@
## master #3419 +/- ##
==========================================
- Coverage 61.61% 61.60% -0.02%
==========================================
Files 395 396 +1
Lines 68428 68573 +145
==========================================
+ Hits 42165 42241 +76
- Misses 26263 26332 +69
Continue to review full report at Codecov.
|
assert pl.DataFrame( | ||
{ | ||
"list_of_struct": [ | ||
[{"a": 1, "b": 4}, {"a": 3, "b": 6}], |
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.
@cbilot creating list of structs is now a bit more ergonomic.
* list namespace to polars-ops * Improve list builders, iteration and construction - Greatly improves performance of the list builders by: jorgecarleitao/arrow2#991 - List builders now also support nested dtypes like List and Struct - Python DataFrame and Series constructor now support better nested dtype construction * fix tests and fix struct::agg_list
Greatly improves performance of the list builders
by: remove accidental quadratic null_count jorgecarleitao/arrow2#991
List builders now also support nested dtypes like List and Struct
Python DataFrame and Series constructor now support better nested dtype
construction
Fix a wrong implementation of
agg_list
for dtypeStruct
fixes #3415
fixes #3418