0
Not able to iterete properly over multiple dataframes using nested for-if loop
Working SIngle Dataframe assignment- x=Camp_Name_Count[1] df_Camp_Email_List_11.assign(Camp_Name_Count=x) Not working over Loop- for index, dataset in enumerate(Camp_List): for h in range(len(Csv_List)): if len(dataset)==Camp_Count[h]: x=Camp_Name_Count[h] dataset.assign(Camp_Name_Count=x) break break break
1 ответ
+ 1
Maybe try to develop a class for the data structure. There seems a linked list can be useful for such as thing.