Skip to content

Tag: excel

Write new field with CSV writer

I am trying to write a new row on CSV A based on the ID number if the ID number. For example as seen on CSV B if ID = 1 then the student is a Female, ID = 2 is a Male. CSV A (has 3 columns) CSV B (has 2 columns) Based on this information the desired output

Remove Automatic Page Breaks in Openpyxl

I am using openpyxl in Python to write to a worksheet. I need to add page breaks to specific rows. I am able to successfully add those row breaks using this block of code: However, I cannot seem to get rid of the automatic page breaks that Excel creates, leaving me with a bunch of unnecessary pages on my work…

Python | Excel csv File Unicode Issue

There is a python file to extract user’s data from telegram group. Here is the codes : After extracting members when i open members–.csv file i see problems on UniCode characters. How can i fix this issue? I am using excel 2016 Answer The problem is not your code, it’s Excel. When Excel open…