[Python] Change orientation of table Header using xlsxwriter

Discussão em 'Python' iniciado por Stack, Março 10, 2025.

  1. Stack

    Stack Membro Participativo

    I am exporting a quite large table (40rows including header; 69 columns)

    The mayority of the columns are just numbers so i Set the with to, e.g, 5.

    This results in unreadable columns headers. Now I want to Rotate them 90 degree clockwise weithinpython/xlsxwriter. During my Research I found This topic Orient text in cell to vertical with XlsxWriter? but unfortunately it results in a corrupt file which Excel offers to repair on opening. I tried the Position 'A1' wich is the Header of the first column.

    I even looked into the xlsxwriter docs but IT seems there's nö Support for This yet (or I am looking AT the wrong) places.

    Do you have an ideal how to achieve the desired result?

    Continue reading...

Compartilhe esta Página