Try something.(data, missing), this should return missing if a value is nothing and the value otherwise, and the result should be properly contained in a Vector{Union{Float64, Nothing}} because of the broadcasting operation.
3 Likes