-
Notifications
You must be signed in to change notification settings - Fork 915
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
[REVIEW] Avoid index materialization when DataFrame
is created with un-named Series
objects
#10071
Conversation
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.
We might be able to simplify the code by just inlining _get_union_of_series_names
since it's a single-use function and the indirection makes this behavior a little more confusing than it needs to be, but for now this LGTM.
Codecov Report
@@ Coverage Diff @@
## branch-22.02 #10071 +/- ##
================================================
- Coverage 10.49% 10.41% -0.08%
================================================
Files 119 119
Lines 20305 20541 +236
================================================
+ Hits 2130 2139 +9
- Misses 18175 18402 +227
Continue to review full report at Codecov.
|
@gpucibot merge |
@gpucibot merge |
@gpucibot merge |
Fixes: #10070
This PR removed materializing of
index
incase of list-like un-namedSeries
inputs are passed toDataFrame
constructor.