Handling None -> Missing conversions in matrices
- Lingua principale
- Julia
- Stelle
- 1.5k
- Fork
- 186
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hi,
I have noticed that trying to convert a numpy array containing `None` to a `Matrix{Union{Missing, Float64}}` does not work smoothly. Indeed, it gives the following error: `TypeError('must be real number, not NoneType')`.
Have you ever encountered this issue before? Are there any working solutions?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Reproduce the reported conversion in PyCall.jl using a NumPy array containing None and a Julia Matrix{Union{Missing, Float64}}. Trace the conversion path that raises TypeError('must be real number, not NoneType'); done should be a defined, tested behavior for this input or a documented working solution.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- julia, numpy
- Ambito
- data
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100