-
Notifications
You must be signed in to change notification settings - Fork 49
refactor: move reader functions from __init__.py
to a separate file under the pandas package
#1023
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
…nder pandas package
bigframes/pandas/readers.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.
Could we make this [bigframes/pandas/io/parsers/readers.py](https://github.com/pandas-dev/pandas/blob/23c497bb2f7e05af1fda966e7fb04db942453559/pandas/io/parsers/readers.py#L720)
to better match the pandas code layout?
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.
Or bigframes/pandas/io/api.py
if we want to go one layer of indirection fewer
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.
Sounds good. I put all the functions under the api.py
file since they are relatively simple
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 docs of these methods are stayed at third_party/bigframes_vendored/pandas/io/parsers/readers.py
. Should we keep them in the similar path?
ed79ff2
to
18e52cc
Compare
…/python-bigquery-dataframes into sycai-refactor-pandas
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.
LGTM overall. Please check the two failing tests in the pre-submit.
No description provided.