mirror of
https://github.com/AllenDowney/AstronomicalData.git
synced 2026-01-04 00:27:00 -08:00
Update documentation
This commit is contained in:
@@ -1234,7 +1234,7 @@ Name: phi2, dtype: bool
|
||||
<p>Because an HDF5 file can contain more than one Dataset, we have to provide a name, or “key”, that identifies the Dataset in the file.</p>
|
||||
<p>We could use any string as the key, but in this example I use the variable name <code class="docutils literal notranslate"><span class="pre">df</span></code>.</p>
|
||||
<p><strong>Exercise:</strong> We’re going to need <code class="docutils literal notranslate"><span class="pre">centerline</span></code> and <code class="docutils literal notranslate"><span class="pre">selected</span></code> later as well. Write a line or two of code to add it as a second Dataset in the HDF5 file.</p>
|
||||
<div class="cell docutils container">
|
||||
<div class="cell tag_hide-cell docutils container">
|
||||
<div class="cell_input docutils container">
|
||||
<div class="highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="c1"># Solution</span>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user