-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DOC: Fixing EX01 - Added example #54126
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
Conversation
Looks good. Could you merge main once more? |
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.
thanks @DeaMariaLeon !
pandas/core/frame.py
Outdated
>>> project_id = "my-project" # doctest: +SKIP | ||
>>> table_id = 'my_dataset.my_table' # doctest: +SKIP |
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.
do these need skipping because otherwise flake8 complains they're unused?
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.
Good question, the skipping was not needed. I removed them.
flake8 complained earlier when the variables were not declared, but it was not related to the doctest skip.
It looks green if someone very kind wants to merge, it would be great. |
Thanks @DeaMariaLeon |
Towards #37875
Modifiedvalidate_docstrings.py
: it was raising for "importing pandas". If I didn't import pandas_gbq on the docstring, the error was for undeclared name.Not sure if I have to add a test for that case or if the fix is good enough.