The merge_range() method writes its data argument using write(). Therefore it will handle numbers, strings and formulas as usual. If this doesn’t handle your data correctly then you can overwrite the first cell with a call to one of the other write_*() methods using the same Format as in the merged cells. See Example: Merging Cells with a Rich String.
来自merge_range()上的文档:
下面是一个基于您的示例:
输出:
{1美元^
相关问题 更多 >
编程相关推荐