Replies: 1 comment
-
+1 to the proposal! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Current problem:
In Croissant JSON-LD, you can write:
So types in Croissant mix:
What we've implemented so far:
So far,
sc:Field
have two attributes:field.data_types
is a mirror of the JSON syntax. So in the previous example:field.data_type
is the actual programmatic type for scalars, or the semantic type for more complex features (image). Programmatic types use built-in Python types (str, bool, int). So in the previous example:Proposal:
We propose to define
mlc.dtypes
based on np-dtypes:On client-side, this allows to write:
Beta Was this translation helpful? Give feedback.
All reactions