Skip to content

Conversation

@junduck
Copy link

@junduck junduck commented Nov 12, 2025

Fixes #621

The original implementation wrongly tests falsy on oldValue and newValue, which results in throwing when replacing with falsy values like 0 or empty string.

This fix test for undefined instead, then validates oldValue/newValue types.

This fix is trivial so no test coverage.

  • Previous PR was closed due to editor removal of whitespace that spamming diff log

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.

Replacing a value with 0 with dataframe.replace throws an error

1 participant