BUG: stack() will raise IndexError when is_extension_array_dtype. bug is in function _stack_multi_columns() #43561
Closed
2 of 3 tasks
Labels
Bug
ExtensionArray
Extending pandas with custom dtypes or arrays.
Reshaping
Concat, Merge/Join, Stack/Unstack, Explode
Milestone
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 master branch of pandas.
Reproducible Example
Issue Description
bug exists in pandas/core/reshape/reshape.py :
def _stack_multi_columns(frame, level_num=-1, dropna=True):
Expected Behavior
Don't throw exception
Installed Versions
pandas 1.3.3
The text was updated successfully, but these errors were encountered: