Extend the Options for `closed` in `fit()` to Have `:both` and `:neither`
RoyiAvital opened this issue · comments
Royi commented
Currently the fit()
method for histogram is accepting :left
and :right
for the close
parameter.
It will be useful, in data processing (Binning / Discretization) to also have the options :both
and :neither
which will allow defining all the options for the interval from a
to b
:
:left
-[a, b)
.:right
-(a, b]
.:both
-[a, b]
.:neither
-(a, b)
.
Milan Bouchet-Valat commented
Could you describe the use case in more detail? Does other software support this?