diff --git a/src/data/util.jl b/src/data/util.jl index 3c3eefa9e..d97169317 100644 --- a/src/data/util.jl +++ b/src/data/util.jl @@ -159,7 +159,7 @@ function na2nan!(df::DataFrame) if typeof(df[!,col])==Vector{Date} nothing else - df[ismissing.(df[!,col]), col] = NaN + df[ismissing.(df[!,col]), col] .= NaN end end end