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
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
The text was updated successfully, but these errors were encountered:
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 whetherbins
includes the rightmose edge or not. It would be useful to have the same functionality withqcut
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 incut
Alternative Solutions
Current alternative I think would be to calculate the quantiles outside of pandas and then use those as
bins
forcut
Additional Context
No response
The text was updated successfully, but these errors were encountered: