Open sethaxen opened 3 years ago
This wouldn't be too hard to implement but requires an additional dependency:
Numpy string arrays are encoded as fixed-length Char arrays.
A Vector{String}
in Julia would be a vector of pointers.
We'd need something like ShortStrings.jl
Wouldn't it be preferable to interpret the Numpy string array as an Array{Vector{UInt8}} and then access it using the bytes interface?
I could really use this functionality. What would be the best way to implement a patch?
A
np.array
withdtype=str
, when passed to Julia remains aPyObject
, instead of becoming some usefulArray{String}
. Here's a minimal example: