Questions tagged [xlsx]
xlsx is the file extension for files created using the default format of Microsoft Excel 2007 or higher.
3,287
questions
-4
votes
0
answers
24
views
How to convert xlsx file to json file without using pandas, excel2json,xlrd and spark in python
I am connecting to an api and that api is giving me result in .xlsx and to make my pipeline running I have to convert it to json. Now trick over here is I am doing this on a private instance
and I am ...
-1
votes
0
answers
16
views
How to add info to a file (xlsx,pkl) to trace back which script created this file
I often write dataframes to a file so other collogues have specific data.
Is there a proper way in python to add info to a xlsx- or pkl file so you can see by which script the file was created?
0
votes
0
answers
12
views
Xlsx is converted to zip on download in Rails application
I have a rails application to save files and download later, but when I download a xlsx file, the browser convert my .xlsx to .zip.
How can I configure my application to not change the extension of ...
0
votes
1
answer
27
views
Writing multiple data frames as separate sheets in one Excel file
I have a list of data frames:
df1 <- data.frame(
col1 = c("1","2","3"),
col2 = c("3","2","1")
)
df2 <- data.frame(
col1 = c(&...
0
votes
2
answers
20
views
RubyXL export array to xlsx file
I have an array of data which I want to export to xlsx file. An array size depends on input data so the array size will change and using add_cell is problematic. Is there any way to add rows with data ...
1
vote
0
answers
14
views
Convert PDF file to XLSX using liberoffice command line
I'm using the below command which is intended to convert PDF files to XLSX format
soffice --infilter="writer_pdf_import" --convert-to xlsx:"Calc MS Excel 2007 XML" excel.pdf --...
0
votes
0
answers
27
views
xlsx export in angular without library
so i have been working on exporting data to excel without any use of libraries and i have stumbled upon an issue.
I construct a string in the correct format out of the data i put in and get the
...
0
votes
0
answers
15
views
How to add a sheet into an XLSX file with IMAGES inside
I need to add very simple sheets to an XLSX file, which contains images inside (unknown to me file). I am trying to use the Openpyxl library but after saving the result file all images are lost.
It's ...
-2
votes
1
answer
30
views
local variable "title" referenced before assignment with JSON crying right now
ive been trying to get this fixed for 3 days now.
I was making a ikea webcrawler and it kept rising up the error "local variable 'title' referenced before assignment"
def get_info_from_url(...
0
votes
1
answer
34
views
Spring boot - downloading xlsx file - cannot open
I'm trying to create an endpoint that returns xlsx file to download.
When I'm trying to open this generated file with OpenOffice then everything works fine.
It doesn't work with Microsoft Excel, when ...
-1
votes
0
answers
17
views
Unable to open xlsx file after creating it using Python
I created an excel file as >>
writer = pd.ExcelWriter('C:\Users\Desktop\temp.xlsx'). After that I added a dataframe >> df.to_excel(writer1, sheet_name='Sheet_a'). The 'temp' sheet got ...
0
votes
0
answers
23
views
Read and replace data in excel sheet from Angular using XLSX
I am using XLSX to read data from an excel sheet and display on the console. The code I use for the read process is
excelFunc() {
this.httpClient.get('assets/resources/dummy.xlsx',{responseType:'...
0
votes
1
answer
14
views
Send XLSX file to controller with C# and JavaScript
I need to send an XLSX file and also an HTML file to the Controller but I don't know what type the file is for the Model (string, char, byte[]...), how can I pass these files?
My HTML looks like this:
...
-1
votes
0
answers
40
views
Vb: how to convert .XLS to .XLSX
I am having some problem which is right now I had transfer my data into excel. But, since my computer no longer support xls, i need to convert to xlsx. Here is my coding
'Declaration for XLS
Dim ...
0
votes
0
answers
22
views
Reading xlsx file using SLDocument
I have file Test.xlsx in my project folder and path is "C:/Users/some_user/source/repos/Test_Project/Project/Test_Project/Test.xlsx"
I read data from it in a method:
using (var sheet = new ...
-1
votes
0
answers
40
views
How to open/modify/save XLSX file with IMAGES inside using Openpyxl & Python
I need to open an xlsx file with images inside (where they are located it's unknown).
I need to add a few additional sheets into the opened file only and save it.
What I am doing:
wb2 = load_workbook('...
0
votes
1
answer
31
views
Converting Excel-Sheet to markdown table with breaks between multiple lines in a cell
I am writing a python script that should take a excel spreadsheet and convert it to a markdown table. Currently my code looks like this:
import pandas as pd
import numpy as np
df = pd.read_excel('...
0
votes
0
answers
22
views
generating excel file with drop down menu menu while using of `xlsx-js-style` library
Im using of xlsx-js-style library for generating excel file, I can export my excel while type of columns are string or number.
but I wanna to use of dropdown option as a one cell in excel. same as ...
0
votes
0
answers
15
views
Write xalues from an .xlsx. file with multiple column names into Tkinter Treeview
How can I get values from an .xlsx file or a dataframe with multiple columns into one Tkinter tree. My code for .xlsx file is as follows:
import pandas as pd
from tkinter import *
from tkinter import ...
0
votes
0
answers
21
views
Problem while converting PDF file to XLSX format using pdf-to-excel npm module
I am using the pdf-to-excel npm module for the node project to convert PDF files to XLSX spreadsheets. I have used the below syntax:
try {
const options = {
// when current pdf page number ...
-1
votes
0
answers
80
views
attached excel file(*.xlsx) type problem in JAVA
First, My English skill is not good like my Java Skill.
So I'm worried about if I explain my problem to everyone.
now!
I want to mailing to my customer with attached excel(*.xlsx) file.
Then my ...
0
votes
1
answer
26
views
PowerShell: Format second sheet within xlsx file
PowerShell: Format second sheet within xlsx file
I am working with an xlsx file that has two sheets within it.
I am uploading data into these sheets and formatting it.
I am able to successfully ...
0
votes
0
answers
14
views
How to Configuration Rows and Coloms Width with XLSX Javascript
I create a table from a combination of php and javascript, I use the exel javascript library, to display data, but don't know the function to set the width and height for each column and row
<...
0
votes
0
answers
24
views
xlsx to txt column data formatting
I am trying to turn a series of Excel Sheets into .txt files. The data I'm working with has some specific formatting I want to keep (decimal places and scientific notation specifically), but I can't ...
0
votes
1
answer
29
views
XLSX returns only 100 object as array of arrays in Next JS
I have a file upload system. It reads excel file and upload data to database (mongoose). When I console.log(sheetData) it returns array of arrays with the objects. The array inside arrays contain only ...
0
votes
1
answer
14
views
Alignment Issue with write.xlsx in R
I'm trying to write a list of data frames into a single excel sheet. However, I'm having issues with the alignments with the data frames printed on the excel sheet.
While the first few data frame was ...
1
vote
1
answer
86
views
Import yaml to excel
I have following .YAML file:
Name: Tom
Surname: Smith
Status: Married
Childs:
- ChildName: Willy
Age: 30
Grandchild:
- GrandchildName: John
Age: 4
- GrandchildName: Maria
Age: 3
- ...
-1
votes
1
answer
47
views
Convert Scientific Notation to String
When I load xlsx file. I have a number IBAN with scientific notation.
For example:
7.810500161524e+25
This number should be:
78105001615240000000000000
I want to convert this number to string, but I ...
0
votes
1
answer
47
views
Python: Iterate through text file; return a different line than referenced in 'if' statement
I'm attempting to iterate through a *.txt file and return lines (strings) that meet certain conditions--which will be written to an *.xlsx.
The code is working for the if "API" and "77-...
-1
votes
2
answers
27
views
openpyxl, how to close/shutdown .xlsx file/session after saving/using it?
As I understood, there are no such functions: del, clear cache or garbage in openpyxl, maybe I am wrong.
The problem I'm facing:
The problem occurs when I want to save 2nd generated .xlsx file. It ...
0
votes
2
answers
31
views
empty column in .toexcel() with pandas
i use pandas for python to generate a xlsx file with two other file.
i take the first one as a template, and file the column with the second file.
i wrote:
df_complete['<CLIENT>']='<CLIENT>...
0
votes
1
answer
20
views
PowerShell: How to upload data from multiple txt files into a single xlsx or csv file
PowerShell: How to upload data from multiple txt files into a single xlsx or csv file using Windows PowerShell
I would like to be able to use a loop that will iterate through a folder of many txt ...
-1
votes
0
answers
43
views
Is there an R function to plot a clustered stacked bar chart from a csv or xlsx file
I am trying to plot a clustered stacked bar chart for some microbial abundance data,
Using excel I faced a problem with column number limitation of 255!
I can't switch rows and columns because the ...
0
votes
1
answer
27
views
Save Base64 formatted data to excel
I have to create a new excel file from the base64 data. I'm getting base64 content from the s3 bucket and I have to save the excel file in the temp directory for further processing using node.js.
I ...
-1
votes
1
answer
68
views
How to detect and filter text/numbers with strikethrough in a cell containing both struck and unstruck text in Python (openpyxl)?
Hi, I am trying to filter out the struck texts/numbers in xlsx file using python using openpyxl. I am able to remove the cells containing struck texts and numbers. However, when there are two values ...
0
votes
0
answers
47
views
How to create a power automate flow that opens a link in an outlook email (with excel file in it) and save it into sharepoint?
I need to open a excel spreadsheet link that I receive in my outlook email almost everyday ,and and save that file in a sharepoint folder. But how can I do it using power automate ?
0
votes
0
answers
20
views
How do I import an xlsx file located in project directory into react without any backend?
I'm having a lot of issues finding anything that can help me answer the title of this question. I understand react is a frontend framework with no access to file directories, but what about the ...
0
votes
1
answer
59
views
Is there any ways to recode the following xlrd using openpyxl? I'm told this >> XLRDError: Excel xlsx file; not supported
# Open Excel workbook
wb = xlrd.open_workbook('data.xlsx')
# Read leader data
ws = wb.sheet_by_name('Leaders')
leaders = []
for i,t in enumerate(ws.col_values(0)[3:]):
# Create Leader object
...
-2
votes
0
answers
41
views
How to make the text in a single row bold with Pandas?
I have been stuck with this issue for days, I want to make a dataframe where there is only one column that basically has two sets of rows. Which means that I want one within that column to have bold ...
0
votes
1
answer
66
views
When xlsx is output @ is added to the formula
I am using Apache POI to generate xlsx.
I need to count the unique number of rows(by cells) through the formula in xlsx
cell.setCellFormula("SUM(1/COUNTIF(I7:I200,I7:I200))");
but if you ...
1
vote
1
answer
32
views
How to read excel workbooks with varying sheet names in parallel?
I am trying to use parLapplyLB to read excel files
file.list <- list.files(path="folder path", pattern="*.xlsx", full.names=TRUE)
test <- parLapplyLB(cl, file.list, function(...
1
vote
2
answers
40
views
Optimize memory usage when using ClosedXML to read XLSX File
I've got an XLSX sheet that contains about 30 columns and 130,000 rows.
In the past I used OleDb data reader to parse such files but it was problematic in case of reading unknown excel files with ...
0
votes
1
answer
26
views
NodeJS: Uploading local XLSX file using Slack API
I'm currently working on a Slack bot that will send out XLSX file with specific data, for some reason the bot doesn't send anything, could somebody please guide me what I'm doing wrong?
import fs ...
-1
votes
0
answers
36
views
Is it possible to style values inside a excel cell during export using sheetjs package
For eg:-
This is my cell value 100 (1) i want to style only (1) into superscript.
For now i can only style the whole cell into superscript.
BTW this is the property i used to style it into superscript ...
0
votes
1
answer
50
views
SheetJs, React. I'm reading a huge XLSX file, but instead of starting at row 0 I want to start from the last row
I've been tasked with importing and parsing a huge XLSX file and displaying as a dashboard (I'm aware it would be a task for the backend, but I need to do it on frontend).
I need the last 100 rows, ...
-2
votes
1
answer
33
views
OpenPyXl how to write a text so that the text is in the center of the cell
I want to write a script that can get json from the backend to create an xlsx file, but I'm stuck here. The problem is that the text that is in this
Cell crosses the boundaries. It should be like ...
0
votes
1
answer
38
views
Getting an array out of bounds error when reading an excel file in byte array format using NewTealegXLSXParser
I am trying to parse an xlsx file in []byte format using the methods in the xlsx package in go i.e. github.com/tealeg/xlsx. However, I am getting this error index out of range [134] with length 0.
...
0
votes
0
answers
20
views
I'm doing selenium with python automation script , in that i'm passing the data in csv file to the login page while executing i got this error,help me
import XLUtils
from selenium import webdriver
from selenium.webdriver.common.by import By
driver = webdriver.Chrome(r"C:\Users\Keerthana\Webdrivers\chromedriver_win32\chromedriver.exe")
...
2
votes
2
answers
61
views
Error when going from dataframe to excel file in Julia
I am trying to export a dataframe to xlsx
df |> XLSX.writexlsx("df.xlsx")
and am getting this error:
ERROR: Unsupported datatype String31 for writing data to Excel file. Supported data ...
0
votes
0
answers
75
views
How to convert a excel file into json format without uploading in react js
I have created a dropdown and selecting a excel file as value and want to convert this file into JSON format this excel file i am importing from assest folder which is inside src folder Here i am ...