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
for i in sheet1.index: | |
# for i in range(0,5): | |
# if i>1: | |
final_xlsx.append(sheet1['D1'][i]) #for adding the values of coloumn D1,D2 of row i to fianl_xlsx list | |
final_xlsx.append(sheet1['D2'][i]) | |
for j in df.index: | |
# for j in range(0,30): | |
# if j>1: | |
if sheet1['D1'][i] == df['C'][j]: #checking for matching conditions | |
if df['D'][j] not in final_xlsx: |