BUG: unstack() sorts automatically, default is preferably unsorted? #34112
Labels
Bug
Duplicate Report
Duplicate issue or pull request
Reshaping
Concat, Merge/Join, Stack/Unstack, Explode
The unstack() function is automatically sorting my labels in my boxplot-code. Isn't it nice to have a sort = False option (probably the default?)
My labels are perfectly ordered, it's just after unstacking they get messed-up.
my post on stack-overflow: https://stackoverflow.com/questions/61720090/issues-with-boxplot-figure-x-label-are-alphabetically-and-extra-nan-label-is-cr
another example: https://stackoverflow.com/questions/32163063/pandas-plotting-incorrectly-sorts-the-binned-values-on-the-graph
The text was updated successfully, but these errors were encountered: