Update common_task.py

prahul11 2023-11-06 15:57:22 +05:30
parent 1e8d5476f3
commit eafe0220f2
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ def read_s3_file(filenameInS3):
# # Print or process the file contents # # Print or process the file contents
# print(file_content.decode('utf-8')) # Assumes the file is text; adjust accordingly # print(file_content.decode('utf-8')) # Assumes the file is text; adjust accordingly
def do_the_difference(today_file, last_file, column_for_diff, fresh_output, expired_output, common_output=None, gi): def do_the_difference(today_file, last_file, column_for_diff, fresh_output, expired_output, common_output, gi):
today_df = pd.read_csv(today_file) today_df = pd.read_csv(today_file)
last_file_df = pd.read_csv(last_file) last_file_df = pd.read_csv(last_file)
print(today_df.shape, last_file_df.shape) print(today_df.shape, last_file_df.shape)