降版本
pip install pandas==1.5.3
将append改为了_append
dataframe = dataframe._append()
df_train = pd.DataFrame()
df_test = pd.DataFrame()
for each in tqdm(json_list):
if 'coco/bbox_mAP' in each:
df_test = df_test._append(eval(each), ignore_index=True)
else:
df_train = df_train._append(eval(each), ignore_index=True)
解决DataFrame‘ object has no attribute ‘append‘”问题_dataframe' object has no attribute 'append-CSDN博客