From 477318e0a9ea28b65a6b01b118d498237c753b13 Mon Sep 17 00:00:00 2001 From: JulienPeloton Date: Fri, 5 Jan 2024 09:59:51 +0100 Subject: [PATCH] Add redshift information in the TNS table --- bin/download_tns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/download_tns.py b/bin/download_tns.py index 50d8d3c8..36d20907 100644 --- a/bin/download_tns.py +++ b/bin/download_tns.py @@ -44,7 +44,7 @@ def format_tns_for_hbase(pdf: pd.DataFrame) -> pd.DataFrame: pdf_explode = pdf_val.explode('internalname') # Select columns of interest -- and create a Spark DataFrame - cols = ['fullname', 'ra', 'declination', 'type', 'internalname'] + cols = ['fullname', 'ra', 'declination', 'type', 'redshift', 'internalname'] return pdf_explode[cols]