Skip to content
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

Change default data object to namedtuple. #4

Open
cpkm opened this issue Jun 30, 2017 · 0 comments
Open

Change default data object to namedtuple. #4

cpkm opened this issue Jun 30, 2017 · 0 comments

Comments

@cpkm
Copy link
Owner

cpkm commented Jun 30, 2017

Currently, imported data from import_data_file returns a homemade data object named objdict. This can be safely removed and replaced with the use of namedtuples, which offer the same functionality, namely, the ability to call fields as attributes, e.g. data.x instead of data['x'].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant