You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia>using RDatasets
julia> iris =dataset("datasets", "iris");
julia> iris[2,1] =NaN;
julia>describe(iris)
SepalLength
ERROR: ArgumentError: quantiles are undefined in presence of NaNs
in quantile! at statistics.jl:545in quantile at statistics.jl:609in describe at /home/dzea/.julia/v0.4/DataFrames/src/abstractdataframe/abstractdataframe.jl:413in describe at /home/dzea/.julia/v0.4/DataFrames/src/abstractdataframe/abstractdataframe.jl:402in describe at /home/dzea/.julia/v0.4/DataFrames/src/abstractdataframe/abstractdataframe.jl:398
The text was updated successfully, but these errors were encountered:
Using
DataFrames.describe
over a dataset withNaN
s gives an error, becausequantiles
throws an error when the input has at least oneNaN
.DataFrames could manage that error using
try
, but maybequantiles
should returnNaN
s when there areNaN
s in the input.Related issue: JuliaLang/julia#1142
The text was updated successfully, but these errors were encountered: