-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Tests for TDI issues already fixed #19044
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
Changes from 4 commits
1cd1399
4d2333f
3b02815
0cd06e4
24062d0
d6a5752
bf09444
57f794b
6f7e5b2
10296e8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -684,7 +684,11 @@ def _align_method_SERIES(left, right, align_asobject=False): | |
|
||
|
||
def _construct_result(left, result, index, name, dtype): | ||
return left._constructor(result, index=index, name=name, dtype=dtype) | ||
out = left._constructor(result, index=index, name=name, dtype=dtype) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. let's just not pass the name at all to the constructor then (and just set as you are doing) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sounds good. |
||
|
||
# If `result` has a non-None name and name is None, we need to override. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can you make this a doc-string instead |
||
out.name = name | ||
return out | ||
|
||
|
||
def _construct_divmod_result(left, result, index, name, dtype): | ||
|
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.
I would rather just not do this now. remove.