I am exporting 3 different Dataframes in a single sheet. So I would like to format my 2nd dataframe (that is in middle). I want to change it's col width. I have row number range and col number range for which I would like to change the width. But I am unable to find any function that changes width of col for specific rows. Is it possible to do so? If yes, Can someone please suggest, How can I do that.
Asked
Active
Viewed 487 times
0

vaibhav
- 45
- 6
-
_Is there a way to set width for columns for some specific rows while using [anything]_ - No – chris neilsen Apr 13 '21 at 12:37
1 Answers
0
You can change the width of all rows in a column via the methods suggested in:
Is there a way to auto-adjust Excel column widths with pandas.ExcelWriter?
But you certainly can not change the width of the column for one specific row and keep the change in column width confined to that specific row alone.

Amiga500
- 1,258
- 1
- 6
- 11
-
Yes, I checked the above link previously, but that is not my objective. – vaibhav Apr 13 '21 at 17:29