-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
similar behavior #66
Comments
Currently, on 0.7, this is the case for julia> similar(missings(Int, 3))
3-element Array{Union{Missings.Missing, Int64},1}:
missing
missing
missing
julia> similar(missings(String, 3))
3-element Array{Union{Missings.Missing, String},1}:
#undef
#undef
#undef I think it makes more sense to fill all arrays with Waiting for this (which should be discussed in Base), I'd say we should keep DataArrays and CategoricalArrays as they are. But indeed the inconsistency isn't great. |
See JuliaLang/julia#24939 about array constructors in Base. |
DataArrays and CategoricalArrays special case
similar
by initializing the values withmissing
, but default behavior in base is to initialize only the array, leaving#undef
. How do we want to handle this?The text was updated successfully, but these errors were encountered: