I want to replace the names of the rows in my excel sheet. Whatever the row names may be, I have to replace them with:
- Street
- City
- State
- Zip
I am able to read the row names. Can anybody help me with replacing the names I read. Here is my piece of code. Thanks
import xlrd
workbook = xlrd.open_workbook('Path to Excel File')
sheet = workbook.sheet_by_index(0)
print(sheet)
for value in sheet.row_values(0):
print(value)