new_sanwei
parent
5f11169c68
commit
70055502e4
14
tools/t7.py
14
tools/t7.py
|
|
@ -207,10 +207,10 @@ class AutoLayout:
|
||||||
if '贞固' in row['companynamea'].lower():
|
if '贞固' in row['companynamea'].lower():
|
||||||
return 999
|
return 999
|
||||||
|
|
||||||
if 'nextera' in row['librarystructure'].lower():
|
if 'nextera' in row['classification'].lower():
|
||||||
return 1000
|
return 1000
|
||||||
|
|
||||||
if '华大' in row['librarystructure']:
|
if '华大' in row['classification']:
|
||||||
return 1100
|
return 1100
|
||||||
|
|
||||||
if row['cycletype'] == '极致周期' or '极致' in row['cycletype']:
|
if row['cycletype'] == '极致周期' or '极致' in row['cycletype']:
|
||||||
|
|
@ -565,7 +565,7 @@ class AutoLayout:
|
||||||
time=library_df['receivedtime'].values[0],
|
time=library_df['receivedtime'].values[0],
|
||||||
level=1950,
|
level=1950,
|
||||||
customer=library_df['companynamea'].values[0],
|
customer=library_df['companynamea'].values[0],
|
||||||
classification=library_df['librarystructure'].values[0],
|
classification=library_df['classification'].values[0],
|
||||||
data=library_df.to_dict('records')
|
data=library_df.to_dict('records')
|
||||||
))
|
))
|
||||||
self.split_lib.add(library)
|
self.split_lib.add(library)
|
||||||
|
|
@ -584,7 +584,7 @@ class AutoLayout:
|
||||||
time=library_df['receivedtime'].values[0],
|
time=library_df['receivedtime'].values[0],
|
||||||
level=library_df['level'].values[0],
|
level=library_df['level'].values[0],
|
||||||
customer=library_df['companynamea'].values[0],
|
customer=library_df['companynamea'].values[0],
|
||||||
classification=library_df['librarystructure'].values[0],
|
classification=library_df['classification'].values[0],
|
||||||
data=library_df.to_dict('records')
|
data=library_df.to_dict('records')
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|
@ -597,7 +597,7 @@ class AutoLayout:
|
||||||
time=library_df['receivedtime'].values[0],
|
time=library_df['receivedtime'].values[0],
|
||||||
level=library_df['level'].values[0],
|
level=library_df['level'].values[0],
|
||||||
customer=library_df['companynamea'].values[0],
|
customer=library_df['companynamea'].values[0],
|
||||||
classification=library_df['librarystructure'].values[0],
|
classification=library_df['classification'].values[0],
|
||||||
data=library_df.to_dict('records')
|
data=library_df.to_dict('records')
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|
@ -666,7 +666,7 @@ class AutoLayout:
|
||||||
time=library_df['receivedtime'].values[0],
|
time=library_df['receivedtime'].values[0],
|
||||||
level=level,
|
level=level,
|
||||||
customer=library_df['companynamea'].values[0],
|
customer=library_df['companynamea'].values[0],
|
||||||
classification=library_df['librarystructure'].values[0],
|
classification=library_df['classification'].values[0],
|
||||||
data=library_df.to_dict('records')
|
data=library_df.to_dict('records')
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|
@ -748,7 +748,7 @@ class AutoLayout:
|
||||||
预排样本名称=library_df['presamplename'].values[0],
|
预排样本名称=library_df['presamplename'].values[0],
|
||||||
二次拆分=library,
|
二次拆分=library,
|
||||||
客户=library_df['companynamea'].values[0],
|
客户=library_df['companynamea'].values[0],
|
||||||
类型=library_df['librarystructure'].values[0],
|
文库结构=library_df['classification'].values[0],
|
||||||
打折前=library_df['orderdatavolume'].sum()
|
打折前=library_df['orderdatavolume'].sum()
|
||||||
))
|
))
|
||||||
df_sum = pd.DataFrame(sum_list)
|
df_sum = pd.DataFrame(sum_list)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue