This warning message is informing you that the xlwt package, which is used by pandas to write data into the .xls format, is no longer being maintained. In a future version of pandas, the xlwt engine will be removed.

To avoid any issues, it is recommended to install the openpyxl package and write your data into .xlsx files instead of .xls files.

If you still need to use the xlwt engine, you can silence this warning by setting the option io.excel.xls.writer to 'xlwt'. However, please note that this option is deprecated and will also raise a warning. If you choose to use this option, it can be globally set to suppress the warning throughout your code

FutureWarning As the xlwt package is no longer maintained the xlwt engine will be removed in a future version of pandas This is the only engine in pandas that supports writing in the xls format Instal

原文地址: https://www.cveoy.top/t/topic/iZdk 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录