PyCall.jl icon indicating copy to clipboard operation
PyCall.jl copied to clipboard

Handling None -> Missing conversions in matrices

Open fipelle opened this issue 1 year ago • 3 comments

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?

fipelle avatar Sep 30 '22 16:09 fipelle