Skip to content

Conversation

jbrockmendel
Copy link
Member

No description provided.

@gfyoung gfyoung added the Docs label Nov 20, 2019
Copy link
Member

@gfyoung gfyoung left a comment

Choose a reason for hiding this comment

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

I get fixing the doc-string (because we aren't issuing a warning).

Not sure why we are removing the return part of the logic though.

@jbrockmendel
Copy link
Member Author

Because the one place where the function is called, the returned value isn’t assigned to snything

Check if the `names` parameter contains duplicates.
If duplicates are found, we issue a warning before returning.
Raise ValueError if the `names` parameter contains duplicates.
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 Raises section

Copy link
Member Author

Choose a reason for hiding this comment

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

updated+green

@jreback jreback added this to the 1.0 milestone Nov 20, 2019
@jreback jreback merged commit 7133447 into pandas-dev:master Nov 20, 2019
@jreback
Copy link
Contributor

jreback commented Nov 20, 2019

thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the depr-kwargs2 branch November 20, 2019 17:36
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
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