-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
DOC: SS01 docstrings errors fixed #37845
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
Conversation
pandas/_libs/lib.pyx
Outdated
|
|
||
| def is_float(obj: object) -> bool: | ||
| """ | ||
| Return a boolean if this is a float object. |
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
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].
|
Does this fix all the SS01 errors? If so, do you want to add this error code to the relevant check in |
|
Sure @MarcoGorelli , thanks |
|
I think you accidentally committed path_to_file.zip ? |
|
@MarcoGorelli Indeed... Got it removed! |
jorisvandenbossche
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
|
Thanks @lucasrodes , and congrats on your first PR to pandas! |
xref #27977
black pandasgit diff upstream/master -u -- "*.py" | flake8 --diff