Conversion isna.(DataArray) to BitArray


#1

Can someone explain the difference between the two examples below:
(Julia v0.6 and DataFrames 0.10.1)

flt = isna.(mydataframe[:var])       # -> BitArray{1}
inv_flt = .!(flt)                    # -> BitArray{1}

# however...
inv_flt = .!(isna.(mydataframe[:var])) # --> DataArray{Any, 1}


#2

Try

inv_flt = .!(isna.(mydataframe[:var]))

(and note the additional . after isna).


#3

Sorry that was a typo. What I actually have in my code is what you describe with the additional dot.
I now edited my post above, the question remains