bug
parent
f4e1f44922
commit
6f3273af82
|
|
@ -520,7 +520,7 @@ class AutoLayout:
|
||||||
ori_library_df.loc[~time_mask, 'note'] = 'time 列非日期'
|
ori_library_df.loc[~time_mask, 'note'] = 'time 列非日期'
|
||||||
ori_library_df.loc[barcode_mask, 'note'] = '非16位barcode,已修改'
|
ori_library_df.loc[barcode_mask, 'note'] = '非16位barcode,已修改'
|
||||||
ori_library_df.loc[no_need_lab_mask, 'note'] = '非上海实验室'
|
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'))
|
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')
|
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)
|
ori_library_df['level'] = ori_library_df.apply(self.level, axis=1)
|
||||||
|
|
||||||
# 极致客户有重复的,把等级调到1900,防止放到了最后,到了未测里
|
# 极致客户有重复的,把等级调到1900,防止放到了最后,到了未测里
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue