Created
March 26, 2024 19:11
-
-
Save documentprocessing/7fc53c8bbcec1c0393f2e794d4864d83 to your computer and use it in GitHub Desktop.
Update existing Column in XLS file with Pyexcel-XLS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyexcel as p | |
#open a sample Excel file | |
sheet = p.get_sheet(file_name="example.xls") | |
#update data in existing column | |
sheet.column[2] = ["Column 3", 100, 200, 300] | |
#Save XLS file to disc | |
sheet.save_as("updateexisting.xls") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment