Skip to content

Commit e3d0ee2

Browse files
committed
Use set_value_explicit instead of set_explicit_value
set_value_explicit is in openpyxl 1.6, changed in openpyxl 1.8, but there is code in 1.8 to set set_value_explicit to set_explicit_value for compatibility
1 parent 4541c37 commit e3d0ee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/excel.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ def write_cells(self, cells, sheet_name=None, startrow=0, startcol=0):
711711
new_data_type = xcell.data_type_for_value(cell.val)
712712
if (isinstance(cell.val, compat.string_types)
713713
and new_data_type != xcell.TYPE_STRING):
714-
xcell.set_explicit_value(cell.val)
714+
xcell.set_value_explicit(cell.val)
715715
else:
716716
xcell.value = _conv_value(cell.val)
717717
style = None

0 commit comments

Comments
 (0)