-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add field_list and data methods to archives (#412)
## Description <!-- Provide a brief description of the PR's purpose here. --> The overall goal of this PR is to make it easier to access the data contained in each archive. ## TODO <!-- Notable points that this PR has either accomplished or will accomplish. --> - [x] Introduce a `data()` method that returns the archive data in many forms -> this method primarily passes calls to `ArrayStore.data` - [x] Test data() by modifying old as_pandas tests (we do not place too much emphasis on testing since ArrayStore.data is already tested fairly thoroughly) - [x] Add a `field_list` method that shows the list of all fields in the archive ## Questions <!-- Any concerns or points of confusion? --> ## Status - [x] I have read the guidelines in [CONTRIBUTING.md](https://github.com/icaros-usc/pyribs/blob/master/CONTRIBUTING.md) - [x] I have formatted my code using `yapf` - [x] I have tested my code by running `pytest` - [x] I have linted my code with `pylint` - [x] I have added a one-line description of my change to the changelog in `HISTORY.md` - [x] This PR is ready to go
- Loading branch information
Showing
3 changed files
with
112 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters