I am using DataFrames from master branch (with NullableArrays as the 
default) and was wondering how the following should be done:

df = DataFrame()
df[:A] = NullableArray([1,2,3])

The following are not allowed or return wrong values:

df[1,:A] == 1   # false
df[1,:A] > 1     # MethodError: no method matching isless(::Int64, 
::Nullable{Int64})
df[3,:A] + 1     # MethodError: no method matching +(::Nullable{Int64}, 
::Int64)

How should I get around these issues? Does anybody know if there is a plan 
to support these kinds of computations directly?

 



Reply via email to