Skip to content

Conversation

@junduck
Copy link

@junduck junduck commented Nov 12, 2025

Fixes #597

The original implementation directly cast single rows of string to Number, which can result in NaN if rows is literal index.

This fix finds indexOf the row without casting, and if index not found, then tries to cast to Number. This covers both literal index and row number.

No regression reported by test.

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.

loc with one row cause error

1 participant