BUG: Sorting fails in specific cases with pandas==2.1.1 #61068
Labels
Bug
Needs Info
Clarification about behavior needed to assess issue
Sorting
e.g. sort_index, sort_values
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
Issue Description
I’ve encountered an issue where sorting operations fail under specific conditions when using pandas==2.1.1. This behavior does not occur in pandas==1.5.3, which suggests it might be a regression or a bug introduced in newer versions.
Expected Behavior
Additional Context:
This issue does not occur in pandas==1.5.3.
I’ve tested this in multiple environments and confirmed the behavior.
If more details are needed, I can provide additional examples or data.
Tips for Submitting an Issue:
Be Clear and Concise: Clearly describe the problem and steps to reproduce it.
Provide Code and Data: Include a minimal reproducible example to help developers debug the issue.
Check for Duplicates: Before submitting, search the Pandas Issues to ensure it hasn’t already been reported.
Be Polite and Professional: Open-source maintainers appreciate respectful and constructive feedback.
Installed Versions
Environment:
Python version: [e.g., 3.9.12]
Pandas version: 2.1.1
Operating System: [ Windows 10]
The text was updated successfully, but these errors were encountered: