From 27ebe878809d5be152c7b4445d9c846425bf9552 Mon Sep 17 00:00:00 2001 From: Bodi Yang Date: Tue, 20 Aug 2024 13:43:19 -0400 Subject: [PATCH] adjustment for report --- history/report_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/history/report_utils.py b/history/report_utils.py index 3023cb54..e23cec3b 100644 --- a/history/report_utils.py +++ b/history/report_utils.py @@ -763,7 +763,7 @@ def validation_table(df_tax_data, df_cbo, category): new_df = new_df.set_index("Year").round(1) new_df = new_df.rename_axis(index=None).squeeze() new_df.index = new_df.index.astype(str) - df_cbo = df_cbo.drop(columns=["2019", "2022"], axis=1, inplace=False) + df_cbo = df_cbo.drop(columns=["2022"], axis=1, inplace=False) df_cbo = df_cbo.transpose() df_cbo_sal = df_cbo.loc[:, df_cbo.columns.str.contains(category)].squeeze() df_cbo_sal = df_cbo_sal.astype(float)