bug
parent
01cdc59321
commit
b6031f297c
|
|
@ -513,7 +513,7 @@ class AutoLayout:
|
|||
ori_library_df.loc[barcode_mask, 'indexi7'] = ori_library_df.loc[barcode_mask, 'indexi7'].str[-8:]
|
||||
|
||||
# 非上海实验室
|
||||
no_need_lab_mask = ori_library_df['createdbyorgid'].str.len() != '上海实验室'
|
||||
no_need_lab_mask = ori_library_df['createdbyorgid'] != '上海实验室'
|
||||
|
||||
ori_library_df['note'] = ''
|
||||
ori_library_df.loc[~numeric_mask, 'note'] = 'data_needed 列非数字'
|
||||
|
|
@ -534,6 +534,7 @@ 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,防止放到了最后,到了未测里
|
||||
|
|
|
|||
Loading…
Reference in New Issue