Skip to content

CLN: misc cleanups from LGTM.com #33724

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 2 commits into from
Apr 23, 2020

Conversation

simonjayhawkins
Copy link
Member

No description provided.

@simonjayhawkins simonjayhawkins changed the title CLN: misc cleanups from LGTM CLN: misc cleanups from LGTM.com Apr 22, 2020
@jbrockmendel
Copy link
Member

Nice, LGTM pending green

@simonjayhawkins simonjayhawkins added this to the 1.1 milestone Apr 22, 2020
Copy link
Contributor

@topper-123 topper-123 left a comment

Choose a reason for hiding this comment

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

A single comment else LGTM

@@ -8218,7 +8218,6 @@ def blk_func(values):
result = result.iloc[0].rename(None)
return result

data = self
Copy link
Contributor

Choose a reason for hiding this comment

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

The data = self at line 8247 could be collapsed together with the line below, so we get values = self.values.

Copy link
Member Author

Choose a reason for hiding this comment

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

data is used further down on L8263

Copy link
Contributor

Choose a reason for hiding this comment

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

Right, missed that. LGTM.

@jbrockmendel jbrockmendel merged commit 837daf1 into pandas-dev:master Apr 23, 2020
@jbrockmendel
Copy link
Member

Thanks @simonjayhawkins

@simonjayhawkins simonjayhawkins deleted the clean-32950 branch April 23, 2020 07:03
rhshadrach pushed a commit to rhshadrach/pandas that referenced this pull request May 10, 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