-
Couldn't load subscription status.
- Fork 79
cover some of the issue in the joy list #1467
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
cover some of the issue in the joy list #1467
Conversation
qiita_ware/ebi.py
Outdated
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.
Dumb question. What exactly is Element? Is it an xml element corresponding to xml.etree? It would be nice to include the object type in the docs
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 can do that but AFAIK is not standard (however, this is not a standard type). What about xml.etree.ElementTree.Element?
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.
👍
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.
Actually, we commonly use pd.DataFrame instead of pandas.DataFrame or np.DataFrame instead of numpy.DataFrame.
So just ET.Element should be good enough.
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.
The reason we use np and pd instead of numpy and pandas is because np and pd are standard abbreviations. Is ET a standard abbreviation of xml.etree.ElementTree?
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.
It seems to be: https://docs.python.org/2/library/xml.etree.elementtree.html
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 for checking! In such case, 👍 to ET.Element
|
Thanks @antgonza, done with the review. |
|
👍 |
cover some of the issue in the joy list
As discussed yesterday, this PR is solving some of the standing issues in the PR #1451. This should be easy and quick to review.