Can I use column header names instead of column alphabets for editing in pandas xlsxwriter?
This is for python 3.x using pandas and latest xlsx writer
worksheet.set_column('F:H', 30)
I want something like
worksheet.set_column('colname1:colname2', 30)
I don't want to use dictionary or assign column names to the default cell notation, it has to be dynamic(the position of the column shouldn't matter)
In almost all cases in XlsxWriter you can use zero indexed
(Row, Col)notation instead ofA1range notation.From the XlsxWriter docs on set_column()