From ff37d82599da7f78e61bbf8dc84895a9436a9379 Mon Sep 17 00:00:00 2001 From: Azalee Bostroem Date: Fri, 29 Dec 2023 17:38:40 -0800 Subject: [PATCH] moving callout on best neighbours to when this column is introduced --- episodes/06-join.md | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/episodes/06-join.md b/episodes/06-join.md index 3373752f..80a523c6 100644 --- a/episodes/06-join.md +++ b/episodes/06-join.md @@ -253,6 +253,17 @@ Ideally, `best_neighbour_multiplicity` should be 1 and `number_of_mates` should be 0; in that case, there is a one-to-one match between the source in Gaia and the corresponding source in Pan-STARRS. +::::::::::::::::::::::::::::::::::::::::: callout + +## Number of neighbors + +The table also contains `number_of_neighbours` which is the +number of stars in Pan-STARRS that match in terms of position, before +using other criteria to choose the most likely match. But we are more +interested in the final match, using both criteria. + +:::::::::::::::::::::::::::::::::::::::::::::::::: + Here is a query that selects these columns and returns the first 5 rows. ```python @@ -947,18 +958,6 @@ dtype: float64 All values in this column are `0`, which means that for each match we found in Pan-STARRS, there are no other stars in Gaia that also match. -::::::::::::::::::::::::::::::::::::::::: callout - -## Number of neighbors - -The table also contains `number_of_neighbours` which is the -number of stars in Pan-STARRS that match in terms of position, before -using other criteria to choose the most likely match. But we are more -interested in the final match, using both criteria. - - -:::::::::::::::::::::::::::::::::::::::::::::::::: - ## Saving the DataFrame We can make a `DataFrame` from our Astropy `Table` and save our results so we can pick up where we left off