Skip to content

Commit

Permalink
Add redshift information in the TNS table
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienPeloton committed Jan 5, 2024
1 parent fc3ab61 commit 477318e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/download_tns.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit 477318e

Please sign in to comment.