xlsxwriter Questions

11

Solved

I would like to simulate the Excel autofit function in Python's xlsxwriter. According to this url, it is not directly supported: http://xlsxwriter.readthedocs.io/worksheet.html However, it should ...
Vern asked 5/4, 2015 at 23:13

4

Saw this article Detail AttributeError: 'module' object has no attribute 'workbook' for the same and the error there was a typo."W" is uppercase for Workbook. Also the package used ...
Rust asked 20/10, 2016 at 10:5

10

Solved

I recently downloaded the xlsxwriter version 0.6.4 and installed it on my computer. It correctly added it to my C:\Python27\Lib\site-packages\xlsxwriter folder, however when I try to import it I ge...
Excursion asked 9/12, 2014 at 17:29

2

I am writing a set of records in excel but I am not supposed to create a physical file. How do I write the records in excel in memory? If I do write it, how do I see the output of the records? I ha...
Relief asked 2/3, 2018 at 16:42

1

I am create a fairly complicated graph using xlsxwriter and I need the data labels to be different than the values of the data looking through the documentation, I see that I can add data labels th...
Scyphozoan asked 15/12, 2015 at 23:58

3

Solved

I'm trying to create an Excel file with a simple formula: import xlsxwriter workbook = xlsxwriter.Workbook('testxlsx.xlsx', {'strings_to_numbers': True}) ws = workbook.add_worksheet() ws.write('A...
Ukase asked 25/8, 2015 at 13:53

2

Solved

I am exporting a pandas DataFrame to Excel, and since it contains a lot of rows and columns, it would be useful to keep the top row and the first column when browsing its contents. There is a feat...
Opheliaophelie asked 30/1, 2018 at 10:37

6

Solved

I am trying to save a Pandas dataframe to an excel file using the to_excel function with XlsxWriter. When I print the dataframe to the terminal then it reads as it should, but when I save it to exc...
Santee asked 25/9, 2018 at 11:50

2

Solved

I have a dataframe which I am writing to excel using xlsxwriter and I want there to be autofilter applied to all columns where the header is not blank in my spreadsheet without having to specify a ...
Southern asked 3/4, 2020 at 20:58

3

Solved

This is something that has been answered and re-answered time and time again because the answer keeps changing with updates to pandas. I tried some of the solutions I found here and elsewhere onlin...
Drawshave asked 19/3, 2019 at 16:50

4

Solved

Is it possible to modify or add to an existing format "on the fly" in xlsxwriter? I'd like this functionality so I can maintain a few primary formats and add new criteria on a case by case basis. ...
Tanaka asked 3/11, 2014 at 20:40

6

Solved

XlsxWriter object save as http response to create download in Django?
Pashm asked 6/5, 2013 at 6:35

4

I've read the docs for, openpyxl, xlwt, xlrd, xlutils, xlsxwriter. I don't find a way to move a sheet in an Excel workbook. Tests added a worksheet to the ends. Concretely, I have a calendar of s...
Frechette asked 28/6, 2018 at 12:4

6

Using xlsxwriter, how do I insert a new row to an Excel worksheet? For instance, there is an existing data table at the cell range A1:G10 of the Excel worksheet, and I want to insert a row (A:A) to...
Transcalent asked 30/4, 2016 at 15:56

1

Solved

This seems relatively straight forward, but I have yet to find a duplicate that answers my question, or a method with the needed functionality. I have an Excel spreadsheet where each column that co...
Horripilate asked 29/9, 2021 at 7:33

2

Solved

Suppose I have the following dataframe: df = pd.DataFrame({ 'A':list('abcdef'), 'B':[4,5,4,5,5,4], 'C':[7,8,9,4,2,3], 'D':[1,3,5,7,1,0], 'E':[5,3,6,9,2,4], 'F':list('aaabbb') }) I want to gi...
Indicator asked 25/9, 2021 at 9:36

2

Am trying to read and update some MS Excel (xlsx) files with Perl 6. What are the modules that I should be downloading? I do see a Perl 6 writer by googling: https://github.com/evanmiller/X...
Berthaberthe asked 1/1, 2018 at 14:50

1

I want to create an excel, which should have cell with multi-select dropdown. e.g. if a cell is given options = [a", "b", "c", "d", "e"]. Editor selects "a", then the value in cell should be "a". ...
Floccule asked 4/4, 2016 at 11:40

3

Solved

For example I read excel file into DataFrame with 2 columns(id and URL). URLs in input file are like text(without hyperlinks): input_f = pd.read_excel("input.xlsx") Watch what inside this DataFr...
Iolanthe asked 16/2, 2016 at 18:38

1

Solved

I have this random dataframe containing two columns with dates, I've been trying to highlight rows where the start date exists inside a list of condition dates. Here goes my failed attempt: import ...
Margarito asked 11/8, 2021 at 22:18

4

I'm using xlsxwriter and the set_column function that format the columns in my excel outputs. However, formatting seems to be ignored when applied to the index column (or index columns in case of...
Esquire asked 6/10, 2016 at 9:44

1

I have written a script that splits a few txt files and stores them into xlsx files to be uploaded to another application. The excel files have a column B that NEEDS TO BE IN SHORT DATE FORMAT or e...
Procedure asked 16/6, 2021 at 1:49

3

Solved

I'd like for the code to run 12345 thru the loop, input it in a worksheet, then start on 54321 and do the same thing except input the dataframe into a new worksheet but in the same workbook. Below ...
Forint asked 29/2, 2016 at 19:17

1

Solved

I was trying to convert parquet file to excel file. However, when I am trying to do so, using pandas or openpyxl engine, it is showing "Operation not supported" error. However, I can read...
Deviationism asked 10/5, 2021 at 14:4

3

I am working on a project where I am writing out onto an xlsx spreadsheet and need to format the one column for 'Date'. I get the program to run and all but the column format is still set to 'Gener...
Ambiguous asked 5/4, 2016 at 20:14

© 2022 - 2024 — McMap. All rights reserved.