문제

I want to freeze the first row and the first column in my excel file using xlsxwriter in python, I tried the bellow code, and seems like that it freeze just the column, when I remove the second line on the code that freeze the column, it freezes the first row, seems like the second line in the code overwrite the first one.

worksheet.freeze_panes(1, 0) # # Freeze the first row.
worksheet.freeze_panes(0, 1) # Freeze the first column.

I checked the documentation here , seems like no help there.
Thanks!

도움이 되었습니까?

해결책

I found this linne and it did the work for me!!

worksheet.freeze_panes(1, 1) # # Freeze the first row and column
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top