Category "xlsx"

django-import-export, importing ManyToMany from XLSX

For my current project I need to import data from excelsheets format .xlsx to the django-admin. I'm struggling with the many2many relations that I have in my mo

Java Excel/POJO Mapping in POI

Java 8 here using Apache POI 4.1 to load Excel (XLSX) files into memory, and write lists of Java beans/POJOs back to new Excel files. To me, an Excel file (at

pywintypes.com_error: (-2147352567,'Exception occured.', (0, None, None, None, 0, -2147352566)

Background: I am using xlwings to open an xlsx file and use a list (tuple) to receive all the data of the table. The code is as follows. def get_excel_al

PHPExcel export HTML table to xlsx

I need to export HTML table with data from database to xlsx file as easily as possible. I've tried PHPExcel and some JS plugins, but unsuccessfully. Is there

openpyxl - Load only a single sheet to prevent pivot tables from being involved

I want to load an .xlsx file with openpyxl: from openpyxl import Workbook, load_workbook wb = load_workbook(filename = "my_excel_file.xlsx", data_only = True)

SheetJS xlsx-style need cell style in excel

I am trying to export excel using SheetJS/xlsx and want to format cell. I am using following code and excel is generating but can't format a cell. Can any one p

Exception in thread "main" java.lang.NoSuchFieldError: Factory

Recently upgraded POI jar version from 3.17 to 5.1 and below code which was working in 3.x is now broken, ( jdk 1.8 ) Below are the set of Jar used below is my

Preserving Data Groupings when writing to Worksheet using OpenPyxl

Disclaimer: I am a beginner-level, self-taught casual 'programmer' with Python. Background: I have a script that takes Groupings of data from an .xlsx Workbook

How to align the cells of an XLSX file using R's xlsx package?

When creating an XLSX file using R's xlsx package, by default, columns with strings are justified to the left by default, and columns with integers are justifie

How to convert .xls file to .xlsx using C# and without Microsoft Office installed?

I need help in converting a .xls file to .xlsx using C# and without using Microsoft Office.

export data frames to Excel via xlsx with conditional formatting

I want to export data frames to Excel and highlight cells according to certain rules. I don't think this answer to a similar question is correct. I think it is

Processing large XLSX file in python

I have a large xlsx Excel file (56mb, 550k rows) from which I tried to read the first 10 rows. I tried using xlrd, openpyxl, and pyexcel-xlsx, but they always t

Excel Cell Coloring using xlsx

Initial code: Lets assume we're using this command to create the dummy data: Data <- data.frame( X = paste(c(sample(1:10),sample(1:10)), collapse=";")

List xlsx sheetnames with R

Is it possible to generate a list of sheetnames within an xlsx file? Or perhaps, can I check if a sheet name exists, and if not, proceed with some designated fu