Skip to content

CLN: streamline Series _construct_result calls #28637

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

Merged
merged 4 commits into from
Oct 1, 2019

Conversation

jbrockmendel
Copy link
Member

After this, the three Series methods in ops.__init__ are just about in sync, the last holdout being alignment behavior in the comparison method.

@@ -566,13 +566,22 @@ def _align_method_SERIES(left, right, align_asobject=False):
return left, right


def _construct_result(left, result, index, name, dtype=None):
def _construct_result(left, result, index, name):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a doc-string / types

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

request addressed + green

@jreback jreback added the Clean label Oct 1, 2019
@jreback jreback added this to the 1.0 milestone Oct 1, 2019
@jreback jreback merged commit f452a69 into pandas-dev:master Oct 1, 2019
@jreback
Copy link
Contributor

jreback commented Oct 1, 2019

thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the after2 branch October 1, 2019 16:58
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
bongolegend pushed a commit to bongolegend/pandas that referenced this pull request Jan 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants