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
### Issue Description
The second element with value 1 should be allocated to the interval (-1.0, 1.0] instead of the erroneous allocation to the interval (1.0, 2.0]
### Expected Behavior
The expected behaviour should be
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
while the expected output should be
cat
[(-1.0, 1.0], (-1.0, 1.0], (1.0, 2.0], (2.0, 3.0]]
Categories (3, interval[float64, right]): [(-1.0, 1.0] < (1.0, 2.0] < (2.0, 3.0]]
The text was updated successfully, but these errors were encountered: