Skip to content

DOC: update array-like parameters if scalars accepted #41985

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 6 commits into from
Jul 14, 2021

Conversation

Dr-Irv
Copy link
Contributor

@Dr-Irv Dr-Irv commented Jun 13, 2021

Based on discussion, I went through all docstrings that had the regex ":.*array-like" and added a scalar as an accepted argument where appropriate.

@Dr-Irv Dr-Irv requested a review from jreback July 9, 2021 13:03
@jreback jreback added the Docs label Jul 14, 2021
@jreback jreback added this to the 1.4 milestone Jul 14, 2021
@jreback jreback merged commit b5bceb7 into pandas-dev:master Jul 14, 2021
@jreback
Copy link
Contributor

jreback commented Jul 14, 2021

thanks @Dr-Irv

@Dr-Irv Dr-Irv deleted the arraylikedocs branch July 15, 2021 02:49
@@ -910,7 +910,7 @@ def duplicated(

Parameters
----------
values : ndarray-like
values : nd.array, ExtensionArray or Series
Copy link
Member

Choose a reason for hiding this comment

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

this doesn't now match the type annotation.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Created #42604

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