Open
Description
Feature Type
-
Adding new functionality to pandas
-
Changing existing functionality in pandas
-
Removing existing functionality in pandas
Problem Description
In the cut
function, you can specify "right" which defines whether bins
includes the rightmose edge or not. It would be useful to have the same functionality with qcut
Feature Description
From a naïve perspective, I think you could just add right=right
when _bins_to_cuts
is called, just as it is done in cut
Alternative Solutions
Current alternative I think would be to calculate the quantiles outside of pandas and then use those as bins
for cut
Additional Context
No response