Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moving callout on best neighbours to when this column is introduced #215

Merged
merged 1 commit into from
Mar 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions episodes/06-join.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading