JuliaStats / Statistics.jl

The Statistics stdlib that ships with Julia.
https://juliastats.org/Statistics.jl/dev/
Other
71 stars 40 forks source link

Fix `quantile` with `Date` and `DateTime` #153

Closed nalimilan closed 11 months ago

nalimilan commented 11 months ago

Before #145 Date and DateTime were supported with quantile as long as the cut point falls between two equal values. Restore this behavior as some code may rely on this given that it is the most common situation with large datasets.

(Failures on Julia 1.x are expected as the fix that allows dropping float is only available on master. But we probably don't care as Statistics can only be upgraded on Julia 1.11 and later.)

nalimilan commented 11 months ago

Thanks, I'm going to merge this keeping the CI on Julia 1.x given that the fix has been backported to Julia 1.10 and will normally be on 1.9.4 too.