-
Notifications
You must be signed in to change notification settings - Fork 7
Naming the dtypes from zarr-python#2874 #4
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
Comments
we should also consider the configuration for these data types.
|
I think the names are ok. The spec documents should definitely contain the configuration params. The spec doc should also contain information about how these dtypes can be (de)serialized, i.e. what array-bytes codecs supports them and how. |
Why is |
because If we ever create a solution for dates that doesn't rely on numpy semantics, we will have to tell people "don't use |
I think the most feasible alternative is an arrow timestamp. Both are based on a 64-bit integer primitive type. The main difference is
We could imagine having both Side note: every time I read about Arrow dtypes I feel a strong feeling that we are reinventing the wheel here in Zarr world. The concepts of "physical layout," "primitive type," and "parametric type" would be very useful for us. |
Uh oh!
There was an error while loading. Please reload this page.
zarr-developers/zarr-python#2874 is proposing to add a number of new extension datatypes to Zarr-Python. Currently, @d-v-b has named prefixed the dtypes in that PR with
numpy.
. This issue proposes removing thenumpy
prefix. BelowFixedLengthAscii
numpy.fixed_length_ascii
fixed-length-ascii
FixedLengthBytes
numpy.void
fixed-length-bytes
FixedLengthUnicode
numpy.fixed_length_ucs4
fixed-length-ucs4
DateTime64
numpy.datetime64
datetime64
Notes:
Structured
Dtype that I am intentionally leaving out of this issue to keep the scope manageable.Questions:
cc: @d-v-b, @normanrz, @rabernat
The text was updated successfully, but these errors were encountered: