'How to catch CompDocError in Pandas while opening .xls file?
My script is supposed to procces dozens of .xls files with pandas. Some files throw CompDocError when I try to open them with regular pd.read_excel(file). However they can be opened with xlrd.open_workbook(file). So, how can I catch CompDocError in order to use the correct method? Can't find it in the docs.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
