修改数据清洗异常
This commit is contained in:
parent
f84c98d4eb
commit
b67844e5d1
|
@ -57,6 +57,6 @@ def change_log_detail(param):
|
|||
id_list.append(1 if df_sub1['companyId'].values[0] is None else 0)
|
||||
df['detail'] = detail_list
|
||||
df['companyId'] = id_list
|
||||
df = df.drop(df[df['companyId'] == 0].index)
|
||||
df.drop(df[df['companyId'] == 0].index)
|
||||
result = list(json.loads(df[['title', 'total', 'detail']].T.to_json()).values())
|
||||
return result
|
||||
|
|
Loading…
Reference in New Issue