There is a code that their excel file reads data on a column label all non-zero values:
import pandas as pd import numpy as np tab=pd.read_excel('primer.xlsx') n_well=len(tab.columns)/5-1 for i in range(1,n_well+2): i=(i-1)*5+1 skv_2=pd.read_excel('primer.xlsx','er',parse_cols=[i+1,i+2,i+3,i+4,i+5]) skv_2drop=skv_2.drop([0,1,2]) met_skv_2=skv_2drop[skv_2drop[i]!=0] met_skv_3=met_skv_2[met_skv_2[i]!=9999] met_skv_3.to_excel('metki1.xlsx',sheet_name='er') How to record all the data from the cycle? And then when using met_skv_3.to_excel('metki1.xlsx',sheet_name='er') , the last elements of the loop are written to the file: 


tabDF. If you put your Excel file somewhere, I could sketch a working version ... - MaxU