new_sanwei
chaopower 2024-09-13 10:15:51 +08:00
parent f4e1f44922
commit 6f3273af82
1 changed files with 1 additions and 2 deletions

View File

@ -520,7 +520,7 @@ class AutoLayout:
ori_library_df.loc[~time_mask, 'note'] = 'time 列非日期'
ori_library_df.loc[barcode_mask, 'note'] = '非16位barcode已修改'
ori_library_df.loc[no_need_lab_mask, 'note'] = '非上海实验室'
no_ori_data = ori_library_df[~(numeric_mask & time_mask & no_need_lab_mask)]
no_ori_data = ori_library_df[(~(numeric_mask & time_mask)) | no_need_lab_mask]
self.no_assign_data.extend(no_ori_data.to_dict('records'))
@ -534,7 +534,6 @@ class AutoLayout:
# 时间格式化
ori_library_df['createdtime'] = pd.to_datetime(ori_library_df['createdtime'], errors='coerce')
print(ori_library_df)
ori_library_df['level'] = ori_library_df.apply(self.level, axis=1)
# 极致客户有重复的把等级调到1900防止放到了最后到了未测里