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

Add numpy 'object' data type contract #71

Open
ddasilva opened this issue Sep 24, 2018 · 0 comments
Open

Add numpy 'object' data type contract #71

ddasilva opened this issue Sep 24, 2018 · 0 comments

Comments

@ddasilva
Copy link

First of all, I want to thank you for this project. This is really great work and design. I'm using it to develop satellite data processing pipelines at NASA Goddard.

Currently, using 'object' as a data type is not supported. A NumPy array with a datatype 'object' holds references to Python objects. Sometimes, it is useful to have a numpy array of object: unlike a list, a numpy object array can support multiple dimensions and advanced slicing.

This is a feature request to add the 'object' datatype to the contract specification for numpy arrays.

Reference:
https://andreacensi.github.io/contracts/reference.html#numpy-specific-contracts

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

No branches or pull requests

1 participant