【发布时间】:2019-10-24 23:01:51
【问题描述】:
有可能吗?
我知道ws.set_row('B:B', options={'hidden': True})
但是,有没有类似ws.set_row('B:B', options={'delete_row': True}) 的东西?
【问题讨论】:
标签: python xlsxwriter
有可能吗?
我知道ws.set_row('B:B', options={'hidden': True})
但是,有没有类似ws.set_row('B:B', options={'delete_row': True}) 的东西?
【问题讨论】:
标签: python xlsxwriter
"""
The options parameter is a dictionary with the following possible keys:
'hidden'
'level'
'collapsed'
""""
不接受delete_row 等其他值。
【讨论】:
似乎无法按照您的要求去做。可能最好的方法仍然是this 旧帖子中提出的方法。
【讨论】:
您不能使用 XlsxWriter 删除列。最好的选择是构建您的应用程序,使其首先不会将数据写入列。
【讨论】: