Numpy arrays of `str` dtype are not converted to Arrays
Aperta
- Lingua principale
- Julia
- Stelle
- 1.5k
- Fork
- 186
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
A `np.array` with `dtype=str`, when passed to Julia remains a `PyObject`, instead of becoming some useful `Array{String}`. Here's a minimal example:
```julia
julia> using PyCall
julia> py"""
import numpy as np
"""
julia> py"""np.array(["a"], dtype=str)"""
PyObject array(['a'], dtype='
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.