You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DataArrays and CategoricalArrays special case similar by initializing the values with missing, but default behavior in base is to initialize only the array, leaving #undef. How do we want to handle this?
I think it makes more sense to fill all arrays with missing, which could allow us to get rid of missings once we have a short syntax for Union{T, Missing}. After discussing this with @StefanKarpinski, a possible general rule would be to always fill uninitialized arrays with the first singleton type (according to an internal order which doesn't correspond to what the user types).
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.
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: