8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ef7fb0 commit 49a038cCopy full SHA for 49a038c
pandas/core/internals/concat.py
@@ -443,7 +443,7 @@ def _is_uniform_join_units(join_units: List[JoinUnit]) -> bool:
443
# cannot necessarily join
444
return (
445
# all blocks need to have the same type
446
- all(type(ju.block) is type(join_units[0].block) for ju in join_units)
+ all(isinstance(ju.block, type(join_units[0].block)) for ju in join_units)
447
and # noqa
448
# no blocks that would get missing values (can lead to type upcasts)
449
# unless we're an extension dtype.
0 commit comments