質問編集履歴

2

誤字

2020/01/05 01:27

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
  engine='xlsxwriter',
28
28
 
29
- options={'remove_timezone') as writer:
29
+ options={'remove_timezone'}) as writer:
30
30
 
31
31
  for key, df in result_df_dict.items():
32
32
 

1

エラー追加

2020/01/05 01:27

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -33,3 +33,19 @@
33
33
  df.to_excel(writer, sheet_name=key)
34
34
 
35
35
  ```
36
+
37
+
38
+
39
+ ```error
40
+
41
+
42
+
43
+ File "C:xxxxxContinuum\anaconda3\lib\site-packages\pandas\io\formats\excel.py", line 437, in _format_value
44
+
45
+ "Excel does not support datetimes with "
46
+
47
+
48
+
49
+ ValueError: Excel does not support datetimes with timezones. Please ensure that datetimes are timezone unaware before writing to Excel.
50
+
51
+ ```