Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道如何设置单元格的格式代码,但是有没有办法为整个列设置格式?
单元格设置: self.sh.cell(row=row,column=3).style.number_format.format_code = 'm/d/yyyy'
self.sh.cell(row=row,column=3).style.number_format.format_code = 'm/d/yyyy'