Commit 8a89969
Add safe handling of Excel error values with ignore_invalid_char_data option
- Add ignore_invalid_char_data option to suppress errors from Excel error values like #N/A, #VALUE!, etc.
- Fix ValueError/OverflowError handling to use empty string instead of None to prevent runtime crashes
- Addresses the core issue from PR #244 with a safer implementation that avoids string concatenation errors
- All existing tests pass, maintaining backward compatibility
Resolves the problem described in #244
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent ca24b29 commit 8a89969
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| 222 | + | |
222 | 223 | | |
223 | 224 | | |
224 | 225 | | |
| |||
966 | 967 | | |
967 | 968 | | |
968 | 969 | | |
969 | | - | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
970 | 976 | | |
971 | 977 | | |
972 | 978 | | |
| |||
0 commit comments