I corrected a misspoke about AbstractDataFrame
before so you can read the correct distinction now.
Glad to be of help. I believe Julia zealots might say that if (cond)
should be if cond
, but it really comes down to your style if the code is for your use.
any(isnan, col)
Should be faster, though my preferred style is
using MappedArrays
any(mappedarray(isnan, col))
or
import Base.Generator
any(Generator(isnan, col))
3 Likes