Le lundi 03 octobre 2016 à 18:14 -0700, Min-Woong Sohn a écrit :
> Previously, under DataArray, I could do
> 
> df2 = df[!isna(df[:somvar),:]
> 
> Is there a NullableArray equivalent to isna()? I've tried isnull(),
> which is not defined.
isnull() is defined in Julia Base. But it's not a vectorized operation:
isnull(df[:somevar]) will return false when you seem to be looking for
a boolean vector. What you're looking for should work when written as
isnull.(df[:somevar]), but currently there's a bug that makes it fail.
That's on our TODO list:
https://github.com/JuliaStats/NullableArrays.jl/issues/153


Regards

Reply via email to