BUG: DataFrame.shift(axis=1) with multiple blocks of same type #10539
Labels
Bug
Dtype Conversions
Unexpected or buggy dtype conversions
Internals
Related to non-user accessible pandas implementation
Multi-Block
Issues caused by the presence of multiple Blocks
Numeric Operations
Arithmetic, Comparison, and Logical operations
Reshaping
Concat, Merge/Join, Stack/Unstack, Explode
Shows up whenver you have multiple blocks of the same type in a dataframe.
Int example:
Or with different data types:
I expect a similar issue pops up with panels and ndframes when shifting across the axis where dtypes can change.
Perhaps this can be fixed by having shift move the column labels rather than the data here?
The text was updated successfully, but these errors were encountered: