From 1f3fc2c158e38d97cfd8daff1aed01dd25885ae4 Mon Sep 17 00:00:00 2001 From: JulienPeloton Date: Mon, 9 Dec 2024 14:15:38 +0100 Subject: [PATCH] Fix number of args when calling --- bin/index_archival.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/index_archival.py b/bin/index_archival.py index 1acb4c18..e9ace204 100644 --- a/bin/index_archival.py +++ b/bin/index_archival.py @@ -72,11 +72,11 @@ def main(): data = data.drop("year").drop("month").drop("day") # Check all columns exist, fill if necessary, and cast data - df_flat, cols_i, cols_d, cols_b = bring_to_current_schema(data) + df_flat, cols_i, cols_d = bring_to_current_schema(data) # Assign each column to a specific column family # This is independent from the final structure - cf = assign_column_family_names(df_flat, cols_i, cols_d, cols_b) + cf = assign_column_family_names(df_flat, cols_i, cols_d) # Restrict the input DataFrame to the subset of wanted columns, # except for tables containing uppervalid & upper limit data