From 5f8a57809458811807cc27de22fb5a4ac738f658 Mon Sep 17 00:00:00 2001 From: Azalee Bostroem Date: Wed, 10 Dec 2025 21:10:53 -0700 Subject: [PATCH 1/4] removing output from Gaia.load_tables as this is no longer shown --- episodes/06-join.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/episodes/06-join.md b/episodes/06-join.md index 3f474a94..20f972c8 100644 --- a/episodes/06-join.md +++ b/episodes/06-join.md @@ -196,12 +196,6 @@ Here is the metadata for `panstarrs1_best_neighbour`. ps_best_neighbour_meta = Gaia.load_table('gaiadr2.panstarrs1_best_neighbour') ``` -```output -Retrieving table 'gaiadr2.panstarrs1_best_neighbour' -Parsing table 'gaiadr2.panstarrs1_best_neighbour'... -Done. -``` - ```python print(ps_best_neighbour_meta) ``` From 3d9ce2a80cd3b45b54a7429f6722661d313d6a7a Mon Sep 17 00:00:00 2001 From: Azalee Bostroem Date: Wed, 10 Dec 2025 21:11:29 -0700 Subject: [PATCH 2/4] adding size to table metadata print out --- episodes/06-join.md | 1 + 1 file changed, 1 insertion(+) diff --git a/episodes/06-join.md b/episodes/06-join.md index 20f972c8..1561ecc9 100644 --- a/episodes/06-join.md +++ b/episodes/06-join.md @@ -206,6 +206,7 @@ Description: Pan-STARRS1 BestNeighbour table lists each matched Gaia object with best neighbour in the external catalogue. There are 1 327 157 objects in the filtered version of Pan-STARRS1 used to compute this cross-match that have too early epochMean. +Size (bytes): 98462015488 Num. columns: 7 ``` From 794aa46e5b9be7158a6033e2a34b11391d74c962 Mon Sep 17 00:00:00 2001 From: Azalee Bostroem Date: Wed, 10 Dec 2025 21:13:10 -0700 Subject: [PATCH 3/4] removing output from Gaia.load_tables as this is no longer shown --- episodes/06-join.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/episodes/06-join.md b/episodes/06-join.md index 1561ecc9..47f7ffc0 100644 --- a/episodes/06-join.md +++ b/episodes/06-join.md @@ -303,12 +303,6 @@ Now that we know the Pan-STARRS `obj_id`, we are ready to match this to the phot ps_valid_meta = Gaia.load_table('gaiadr2.panstarrs1_original_valid') ``` -```output -Retrieving table 'gaiadr2.panstarrs1_original_valid' -Parsing table 'gaiadr2.panstarrs1_original_valid'... -Done. -``` - ```python print(ps_valid_meta) ``` From f765cda47118d3682dde5fa837dc1033cedc409f Mon Sep 17 00:00:00 2001 From: Azalee Bostroem Date: Wed, 10 Dec 2025 21:20:45 -0700 Subject: [PATCH 4/4] adding key= to to_hdu statement --- episodes/06-join.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/episodes/06-join.md b/episodes/06-join.md index 47f7ffc0..4d3d1d71 100644 --- a/episodes/06-join.md +++ b/episodes/06-join.md @@ -961,7 +961,7 @@ The HDF5 file should already exist, so we'll add `candidate_df` to it. ```python filename = 'gd1_data.hdf' -candidate_df.to_hdf(filename, 'candidate_df') +candidate_df.to_hdf(filename, key='candidate_df') ``` We can use `getsize` to confirm that the file exists and check the size: