Skip to content

Commit 73d9de2

Browse files
fix mypy
1 parent 6cd1c4d commit 73d9de2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/internals/concat.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ def concatenate_array_managers(
7171
]
7272
return ArrayManager(arrays, [axes[1], axes[0]], do_integrity_check=False)
7373
# concatting along the columns -> combine reindexed arrays in a single manager
74-
elif concat_axis == 0:
74+
else:
75+
assert concat_axis == 0
7576
arrays = list(itertools.chain.from_iterable([mgr.arrays for mgr in mgrs]))
7677
return ArrayManager(arrays, [axes[1], axes[0]], do_integrity_check=False)
7778

0 commit comments

Comments
 (0)