From 1790a8e3076877d8a0ecee8bb8b343becf868987 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Thu, 23 Oct 2025 08:57:00 +0000 Subject: [PATCH] fix month end wave accent housing --- etl/month_end_automation_wave_accent_housing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etl/month_end_automation_wave_accent_housing.py b/etl/month_end_automation_wave_accent_housing.py index 9e8819f..f79b29a 100644 --- a/etl/month_end_automation_wave_accent_housing.py +++ b/etl/month_end_automation_wave_accent_housing.py @@ -172,7 +172,7 @@ final_df = None if filtered_dfs: final_df = pd.concat(filtered_dfs).reset_index(drop=True) - if final_df: + if not final_df.empty: final_df["job_type"] = final_df["job_type"].str.lower() rate_card_df["job_type"] = rate_card_df["job_type"].str.lower()