Skip to content

Conversation

@vkverma9534
Copy link
Contributor

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.

@vkverma9534 vkverma9534 marked this pull request as draft December 18, 2025 09:13
@vkverma9534 vkverma9534 marked this pull request as ready for review December 19, 2025 10:33
@vkverma9534
Copy link
Contributor Author

The goal here is to align ignore_index=True with the total concatenated length.
CI is still failing, and it’s possible the added logic here is contributing to that. I’m happy to simplify or adjust this if there’s a better approach that fits the existing structure. Feedback welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant