Changing number format when concatenating

Don’t know if this is the best but you could promote one of the arrays to Any

julia> cat(Vector{Any}(a), b; dims=2)
4×2 Array{Any,2}:
 1  0.5
 2  0.671
 3  0.875
 4  1.5
1 Like