1
私はいくつかのデータを処理するためにpython pandasを使用しています。私は以下のコードを使用してExcelファイルにデータをエクスポートしました。Python Pandas export data
ただし、Excelブックを開くと、Excelファイルに式があることが表示され続けます。問題は、常にブックをオーバーライドしているため、このエラーがどこから来ているのか不明です。誰もこれを解決する方法を知っていますか?
<?xml version="1.0" encoding="UTF-8" standalone="true"?>
-<recoveryLog xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
<logFileName>error058920_06.xml</logFileName>
<summary>Errors were detected in file 'C:\Users\adrlee\Desktop\Python files\Data.xlsx'</summary>
-<removedRecords summary="Following is a list of removed records:">
<removedRecord>Removed Records: Formula from /xl/worksheets/sheet1.xml part</removedRecord>
</removedRecords>
</recoveryLog>
エクスポートしようとしているあなたのパンダのDataFrameの例を挙げることができますか?おそらく、DataFrame内に問題のあるデータがあり、適切にエクスポートできません。 'df.to_excel(" Data.xlsx "、index = False)'を使って直接エクスポートすることもできます。 – pansen