Try several encodings to read old WEO releases
2 unresolved threads
2 unresolved threads
Compare changes
- Pierre Dittgen authored
+ 11
− 1
@@ -60,6 +60,16 @@ def unit_slugify(unit_label):
changed this line in version 2 of the diff
@@ -73,7 +83,7 @@ def process_csv_file(
I think it is not a good practice to catch all exceptions. Does Pandas raise a particular exception for encoding errors?
If you're unsure about the exact exceptions to catch, could you add a comment to state that explicitly?
changed this line in version 2 of the diff