Commit 5ee67566 authored by Radek Fučík's avatar Radek Fučík
Browse files

oprava

	modified:   skript.py
parent 7e1c43a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -377,7 +377,7 @@ with pd.ExcelWriter(excel_file_path, engine='xlsxwriter') as writer:
                        #suma=exexbl[ (exexbl['ROK']==year) & (exexbl['MESIC']==month)].CASTKA.sum()
                        suma=0
                        for idx_ex, ex in exexbl.iterrows():
                            if (ex['ROK']==year & ex['MESIC']==month):
                            if (ex['ROK']==year and ex['MESIC']==month):
                                suma+=ex['CASTKA']
                        out.at[iter, str(year)+"_"+str(month)] = suma
                    out.at[iter,'EMPTY_'+str(year-year_start)] = ""