Skip to content

Commit 66ce228

Browse files
authored
Merge pull request #263 from abostroem/fix_episode6
Small fixes to episode 6
2 parents 1cad497 + f765cda commit 66ce228

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

episodes/06-join.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,6 @@ Here is the metadata for `panstarrs1_best_neighbour`.
196196
ps_best_neighbour_meta = Gaia.load_table('gaiadr2.panstarrs1_best_neighbour')
197197
```
198198

199-
```output
200-
Retrieving table 'gaiadr2.panstarrs1_best_neighbour'
201-
Parsing table 'gaiadr2.panstarrs1_best_neighbour'...
202-
Done.
203-
```
204-
205199
```python
206200
print(ps_best_neighbour_meta)
207201
```
@@ -212,6 +206,7 @@ Description: Pan-STARRS1 BestNeighbour table lists each matched Gaia object with
212206
best neighbour in the external catalogue.
213207
There are 1 327 157 objects in the filtered version of Pan-STARRS1 used
214208
to compute this cross-match that have too early epochMean.
209+
Size (bytes): 98462015488
215210
Num. columns: 7
216211
```
217212

@@ -308,12 +303,6 @@ Now that we know the Pan-STARRS `obj_id`, we are ready to match this to the phot
308303
ps_valid_meta = Gaia.load_table('gaiadr2.panstarrs1_original_valid')
309304
```
310305

311-
```output
312-
Retrieving table 'gaiadr2.panstarrs1_original_valid'
313-
Parsing table 'gaiadr2.panstarrs1_original_valid'...
314-
Done.
315-
```
316-
317306
```python
318307
print(ps_valid_meta)
319308
```
@@ -972,7 +961,7 @@ The HDF5 file should already exist, so we'll add `candidate_df` to it.
972961
```python
973962
filename = 'gd1_data.hdf'
974963

975-
candidate_df.to_hdf(filename, 'candidate_df')
964+
candidate_df.to_hdf(filename, key='candidate_df')
976965
```
977966

978967
We can use `getsize` to confirm that the file exists and check the size:

0 commit comments

Comments
 (0)