Skip to content

Commit f765cda

Browse files
committed
adding key= to to_hdu statement
1 parent 794aa46 commit f765cda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

episodes/06-join.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ The HDF5 file should already exist, so we'll add `candidate_df` to it.
961961
```python
962962
filename = 'gd1_data.hdf'
963963

964-
candidate_df.to_hdf(filename, 'candidate_df')
964+
candidate_df.to_hdf(filename, key='candidate_df')
965965
```
966966

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

0 commit comments

Comments
 (0)