Skip to content

Tag: openpyxl

How to get data from excel file ‘as is’ using openpyxl?

I have an excel file – the data in which looks like. I want to get float values ​​of cells – in which separator is comma. But when accessing them, a value with a dot is returned. Is it possible to do this with opepyxl or other libraries? what i tried I also tried pandas, but it also formats cells…

How to organize excel file by python?

I wrote a program to open an excel file and try to get 3 column in it. after running the program unfortunately It is not exactly what should it be. If I show you the pictures you will understand what I am talking about. This is the original excel file: enter image description here After running the program th…

Add custom properties to Excel workbook with openpyxl

With VBA, I can edit arbitrary workbook metadata like so, and it will be reflected on SharePoint: Now, I am hoping to do the same with openpyxl I can do this for properties without spaces: but properties with spaces won’t work–I try this and the script runs, but nothing shows on SharePoint: This c…