This repository was archived by the owner on May 4, 2019. It is now read-only.
This repository was archived by the owner on May 4, 2019. It is now read-only.
Override vcat() and (maybe) promote_rule() #167
Open
Description
We need to override vcat
to fix this inconsistency:
julia> vcat(NullableArray(1:2), 1:3)
5-element NullableArrays.NullableArray{Int64,1}:
1
2
1
2
3
julia> vcat(1:2, NullableArray(1:2))
4-element Array{Nullable{Int64},1}:
1
2
1
2
The first case is OK, the second one isn't.
By the way, it could make sense to override promote_rule
too, since ideally vcat
would use it. Cf. JuliaData/CategoricalArrays.jl#42.
Metadata
Metadata
Assignees
Labels
No labels