Skip to content
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

DOC: SS01 docstrings errors fixed #37845

Merged
merged 6 commits into from
Nov 15, 2020

Conversation

lucasrodes
Copy link
Contributor

@lucasrodes lucasrodes commented Nov 14, 2020

xref #27977

@@ -927,6 +929,8 @@ def indices_fast(ndarray index, const int64_t[:] labels, list keys,

def is_float(obj: object) -> bool:
"""
Return a boolean if this is a float object.
Copy link
Member

Choose a reason for hiding this comment

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

I think these are the same as above (Return True)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changing docstrings to

Return True if given object is [type].

@MarcoGorelli
Copy link
Member

Does this fix all the SS01 errors? If so, do you want to add this error code to the relevant check in scripts/code_checks.sh?

@lucasrodes
Copy link
Contributor Author

Sure @MarcoGorelli , thanks

@MarcoGorelli
Copy link
Member

I think you accidentally committed path_to_file.zip ?

@lucasrodes
Copy link
Contributor Author

@MarcoGorelli Indeed... Got it removed!

@jorisvandenbossche jorisvandenbossche changed the title SS01 docstrings errors fixed DOC: SS01 docstrings errors fixed Nov 14, 2020
Copy link
Member

@jorisvandenbossche jorisvandenbossche left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@MarcoGorelli MarcoGorelli added this to the 1.2 milestone Nov 15, 2020
@MarcoGorelli
Copy link
Member

Thanks @lucasrodes , and congrats on your first PR to pandas!

@MarcoGorelli MarcoGorelli merged commit cd37386 into pandas-dev:master Nov 15, 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.

4 participants