Skip to content

Commit 1998037

Browse files
committed
BUG: avoid QTable convertint int columns to float
1 parent 7ea238a commit 1998037

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

tutorials/euclid_access/5_Euclid_intro_SPE_catalog.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,8 @@ adql_query = ("SELECT DISTINCT mer.object_id,mer.ra, mer.dec, mer.tileid, mer.fl
180180
"ORDER BY lines.spe_line_snr_gf DESC ")
181181
182182
# Use TAP with this ADQL string
183-
result_table = Irsa.query_tap(adql_query).to_qtable()
183+
result_table = Irsa.query_tap(adql_query).to_table()
184184
185-
result_table['spe_line_flux_gf'].info.format = ".8e" # Scientific notation with 8 decimal places
186-
result_table['spe_line_flux_err_gf'].info.format = ".8e"
187-
result_table['object_id'] = result_table['object_id'].astype('int64')
188185
```
189186

190187
### Choose an object of interest, lets look at an object with a strong Halpha line detected with high SNR.

0 commit comments

Comments
 (0)