bug
parent
338159b277
commit
21ba86b6e2
|
|
@ -252,10 +252,10 @@ class AutoLayout:
|
||||||
ori_library_df = ori_library_df[(numeric_mask & time_mask)]
|
ori_library_df = ori_library_df[(numeric_mask & time_mask)]
|
||||||
ori_library_df['level'] = ori_library_df.apply(self.level, axis=1)
|
ori_library_df['level'] = ori_library_df.apply(self.level, axis=1)
|
||||||
|
|
||||||
# 极致客户有重复的,把等级调到0,防止放到了最后,到了未测里
|
# # 极致客户有重复的,把等级调到0,防止放到了最后,到了未测里
|
||||||
duplicate_name = ori_library_df[ori_library_df['level'] == 2].duplicated(subset='barcode', keep=False)
|
# duplicate_name = ori_library_df[ori_library_df['level'] == 2].duplicated(subset='barcode', keep=False)
|
||||||
# 将 'level' 列的值改为 0
|
# # 将 'level' 列的值改为 0
|
||||||
ori_library_df.loc[duplicate_name, 'level'] = 0
|
# ori_library_df.loc[duplicate_name, 'level'] = 0
|
||||||
|
|
||||||
for library, library_df in ori_library_df.groupby('#library'):
|
for library, library_df in ori_library_df.groupby('#library'):
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue