Skip to content

Commit cfdfa08

Browse files
authored
Merge pull request #215 from abostroem/issue197-neighbours
moving callout on best neighbours to when this column is introduced
2 parents 7503825 + ff37d82 commit cfdfa08

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

episodes/06-join.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,17 @@ Ideally, `best_neighbour_multiplicity` should be 1 and `number_of_mates`
253253
should be 0; in that case, there is a one-to-one match between the
254254
source in Gaia and the corresponding source in Pan-STARRS.
255255

256+
::::::::::::::::::::::::::::::::::::::::: callout
257+
258+
## Number of neighbors
259+
260+
The table also contains `number_of_neighbours` which is the
261+
number of stars in Pan-STARRS that match in terms of position, before
262+
using other criteria to choose the most likely match. But we are more
263+
interested in the final match, using both criteria.
264+
265+
::::::::::::::::::::::::::::::::::::::::::::::::::
266+
256267
Here is a query that selects these columns and returns the first 5 rows.
257268

258269
```python
@@ -947,18 +958,6 @@ dtype: float64
947958
All values in this column are `0`, which means that for each match we
948959
found in Pan-STARRS, there are no other stars in Gaia that also match.
949960

950-
::::::::::::::::::::::::::::::::::::::::: callout
951-
952-
## Number of neighbors
953-
954-
The table also contains `number_of_neighbours` which is the
955-
number of stars in Pan-STARRS that match in terms of position, before
956-
using other criteria to choose the most likely match. But we are more
957-
interested in the final match, using both criteria.
958-
959-
960-
::::::::::::::::::::::::::::::::::::::::::::::::::
961-
962961
## Saving the DataFrame
963962

964963
We can make a `DataFrame` from our Astropy `Table` and save our results so we can pick up where we left off

0 commit comments

Comments
 (0)