TypeError: load_workbook() got an unexpected keyword argument 'index'
时间: 2023-12-07 17:03:03 浏览: 279
TypeError: Unexpected keyword argument passed to optimizer: learning_rate 解决方法
This error occurs when the `load_workbook()` function is called with an unexpected keyword argument 'index'. This means that the version of openpyxl being used does not support the 'index' parameter.
To fix this error, check the version of openpyxl being used and make sure it supports the 'index' parameter. If not, remove the 'index' parameter from the `load_workbook()` function call. Alternatively, you can upgrade openpyxl to a version that supports the 'index' parameter.
阅读全文