2023-Kaggle-LECR-Top3-TrainCode
2023-Kaggle-LECR-Top3-TrainCode copied to clipboard
请问一下if train_flag==True,就会把df_topic 和df_topic_tmp concat到一起,df_topic_tmp的用意是什么呢?
if train_flag: df_topic_tmp = df_topic[df_topic['id'].isin(valid_topic_id)].copy().reset_index(drop=True) df_topic_tmp = df_topic_tmp[df_topic_tmp['category'] == 'source'].copy().reset_index(drop=True)