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
{{ message }}
Repository navigation
Support missing key-value pairs when creating array #386
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.
Activity