-
Notifications
You must be signed in to change notification settings - Fork 173
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
[ENH] : Implementation of read_archive function #1438
base: dev
Are you sure you want to change the base?
Conversation
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.
@Sabrina-Hassaim thank you for kickstarting this PR! It was a relatively easy one to review, and I just happened to have a small chunk of time to review it. I'm going to request changes here, as it seems to me that anything related to I/O should live in io.py
and follow the patterns there. Once we're done with these changes and @samukweku has reviewed, I think we can merge and cut a new release.
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.
@Sabrina-Hassaim it feels like the changes in here weren't necessary for testing read_archive
functionality, is that right? Could you revert these please?
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 the contents of this file should be moved under io
, and they do not need the @pf.register_dataframe_method
decorator either.
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.
This file feels superfluous, could you delete it please?
@@ -25,7 +25,7 @@ def test_docs_general_functions_present(): | |||
# I put in a subsample of general functions. | |||
# This can be made much more robust. | |||
rendered_correctly = False | |||
with open("./site/api/functions/index.html", "r+") as f: | |||
with open("./site/api/functions/index.html", "r+", encoding="utf-8") as f: |
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.
Is the encoding
argument necessary here?
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.
Similar to the contents of read_archive.py
moving into io.py
, I think these tests can be moved to the appropriate test file as well.
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.
This file shouldn't be changed, IMO, based on what I see in this PR.
PR Description
Please describe the changes proposed in the pull request:
1. Implementation of the read_archive Function:
2. Unit Tests
This PR resolves #(put issue number here, and remove parentheses).
PR Checklist
Please ensure that you have done the following:
<your_username>
:dev
, but rather from<your_username>
:<feature-branch_name>
.AUTHORS.md
.CHANGELOG.md
under the latest version header (i.e. the one that is "on deck") describing the contribution.Automatic checks
There will be automatic checks run on the PR. These include:
Relevant Reviewers
Please tag maintainers to review.