prahul11 2023-10-26 15:14:05 +05:30
parent 2f7faa2f86
commit 4f1aa0620f
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ def do_the_difference(today_file, last_file, column_for_diff, fresh_output, expi
child_df_copy = expired_df.copy()
if gi =="g":
child_df_copy['Job Key'] = 'g_' + child_df_copy['Job Key'].astype(str)
expired_df['Job key'] = expired_df['Job key'].astype(str)
expired_df['Job Key'] = expired_df['Job Key'].astype(str)
expired_df = pd.concat([expired_df, child_df_copy], ignore_index=True)
else: # jobId
child_df_copy['jobId'] = 'i_' + child_df_copy['jobId'].astype(str)