Skip to content

Conversation

@vkverma9534
Copy link
Contributor

@vkverma9534 vkverma9534 commented Dec 18, 2025

Fix incorrect index length when ignore_index=True in series concat

The concat axis was previously created with length len(objs), which counts input containers rather than concatenated rows. This caused index/data length mismatches for any non-trivial concat.

The concat axis length is now computed as the sum of object lengths, restoring correctness for ignore_index=True.

I am happy to add parametrized test cases if required and given exact file location.

Fix incorrect index length when ignore_index=True in series concat The concat axis was previously created with length len(objs), which counts input containers rather than concatenated rows. This caused index/data length mismatches for any non-trivial concat. The concat axis length is now computed as the sum of object lengths, restoring correctness for ignore_index=True.
@vkverma9534 vkverma9534 changed the title Fix incorrect index length when ignore_index=True in series concat BUG: Fix incorrect index length when ignore_index=True in series concat Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant