Skip to content

Commit

Permalink
Cast numpy array into list for Spark operation
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienPeloton committed Jan 18, 2024
1 parent 980f74b commit e560744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/daily_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def main():
out_dic['simbad_tot'] = n_simbad

n_simbad_gal = df_sci.select('cdsxmatch')\
.filter(df_sci['cdsxmatch'].isin(return_list_of_eg_host()))\
.filter(df_sci['cdsxmatch'].isin(list(return_list_of_eg_host())))\
.count()

out_dic['simbad_gal'] = n_simbad_gal
Expand Down

0 comments on commit e560744

Please sign in to comment.