You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is great. It would be much greater if it also worked when creating an array from Python objects (this is, at least for me, far more valuable than parsing text).
In [5]: nd.array({'x': 5}, '{x: int, y: ?int}')
BroadcastError: pythondictdoesnotcontainthefield"y"asrequiredbythedata type {x: int32, y: ?int32}
While I'm here, it's odd that those two functions have reversed signatures.
The text was updated successfully, but these errors were encountered:
It looks like the JSON parser is able to avoid missing key-value pairs for option types
This is great. It would be much greater if it also worked when creating an array from Python objects (this is, at least for me, far more valuable than parsing text).
While I'm here, it's odd that those two functions have reversed signatures.
The text was updated successfully, but these errors were encountered: