Replies: 1 comment
-
It's not supported and unlikely to be realized any time soon because nanobind's nd-array interface is based on DLPack (link: https://github.com/dmlc/dlpack). DLPack doesn't support strings; 8-bit ints is the closest approximation, but that doesn't consider things like unicode. |
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
-
nb::ndarray
can't bind to string array, including zero-terminated bytes or unicode string. Will this feature get considered? Thanks!Beta Was this translation helpful? Give feedback.
All reactions