Datasets:
Languages:
English
Size:
10K<n<100K
fix: Fix UnicodeDecodeError and pyarrow.lib.ArrowInvalid when loading
#3
by
predprey
- opened
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 6265: character maps to <undefined>
Fix UnicodeDecodeError by forcing encoding to UTF-8 in _generate_examples.
pyarrow.lib.ArrowInvalid: Integer value 2710988854 not in range: -2147483648 to 2147483647
Fix integer value out of bounds in stats_view or stats_downloads by using unsigned type.
Environment:
Python 3.10
Windows 11 with English, Chinese, Japanese language packs
datasets==2.12.0