diff --git a/03_motion.html b/03_motion.html index 55c3da3..f96a8ed 100644 --- a/03_motion.html +++ b/03_motion.html @@ -1234,7 +1234,7 @@ Name: phi2, dtype: bool
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.
We could use any string as the key, but in this example I use the variable name df.
Exercise: We’re going to need centerline and selected later as well. Write a line or two of code to add it as a second Dataset in the HDF5 file.
# Solution
diff --git a/04_select.html b/04_select.html
index face37e..389b57e 100644
--- a/04_select.html
+++ b/04_select.html
@@ -718,7 +718,7 @@ and use the polygon as a selection criterion in an ADQL query.
Exercise: Modify query_base by adding a new clause to select stars whose coordinates of proper motion, pmra and pmdec, fall within the polygon defined by pm_point_list.
# Solution
@@ -745,7 +745,7 @@ and use the polygon as a selection criterion in an ADQL query.
Exercise: Use format to format query_base and define query, filling in the values of columns, point_list, and pm_point_list.
# Solution
diff --git a/05_join.html b/05_join.html
index db265e9..2a7c786 100644
--- a/05_join.html
+++ b/05_join.html
@@ -804,7 +804,7 @@ dtype: int64
Since we’ve done everything here before, we’ll do these steps as an exercise.
Exercise: Select source_id and original_ext_source_id from results1 and write the resulting table as a file named external.xml.
-
+
# Solution
@@ -851,7 +851,7 @@ dtype: int64
i_mean_psf_mag from gaiadr2.panstarrs1_original_valid
Hint: When you select a column from a join, you have to specify which table the column is in.
-
+
# Solution
@@ -862,7 +862,7 @@ dtype: int64
-
+
# Solution
@@ -873,7 +873,7 @@ dtype: int64
-
+
# Solution
@@ -886,7 +886,7 @@ dtype: int64
-
+
# Solution
diff --git a/07_plot.html b/07_plot.html
index 85019e6..334724c 100644
--- a/07_plot.html
+++ b/07_plot.html
@@ -472,7 +472,7 @@
To add an annotation with text and an arrow, see plt.annotate.
And here is some additional information about text and arrows.
-
+
# Solution
@@ -512,7 +512,7 @@
Exercise: Read the documentation of tick_params and use it to put ticks on the top and right sides of the axes.
-
+
# Solution
@@ -909,7 +909,7 @@
-
+
# Solution
diff --git a/_sources/03_motion.ipynb b/_sources/03_motion.ipynb
index baf52c9..4d6c997 100644
--- a/_sources/03_motion.ipynb
+++ b/_sources/03_motion.ipynb
@@ -1739,7 +1739,11 @@
{
"cell_type": "code",
"execution_count": 127,
- "metadata": {},
+ "metadata": {
+ "tags": [
+ "hide-cell"
+ ]
+ },
"outputs": [],
"source": [
"# Solution\n",
diff --git a/_sources/04_select.ipynb b/_sources/04_select.ipynb
index 56cda75..50be0fd 100644
--- a/_sources/04_select.ipynb
+++ b/_sources/04_select.ipynb
@@ -677,7 +677,11 @@
{
"cell_type": "code",
"execution_count": 21,
- "metadata": {},
+ "metadata": {
+ "tags": [
+ "hide-cell"
+ ]
+ },
"outputs": [],
"source": [
"# Solution\n",
@@ -720,7 +724,11 @@
{
"cell_type": "code",
"execution_count": 23,
- "metadata": {},
+ "metadata": {
+ "tags": [
+ "hide-cell"
+ ]
+ },
"outputs": [
{
"name": "stdout",
diff --git a/_sources/05_join.ipynb b/_sources/05_join.ipynb
index e4d80bf..5b600ba 100644
--- a/_sources/05_join.ipynb
+++ b/_sources/05_join.ipynb
@@ -939,7 +939,11 @@
{
"cell_type": "code",
"execution_count": 24,
- "metadata": {},
+ "metadata": {
+ "tags": [
+ "hide-cell"
+ ]
+ },
"outputs": [],
"source": [
"# Solution\n",
@@ -1012,7 +1016,11 @@
{
"cell_type": "code",
"execution_count": 26,
- "metadata": {},
+ "metadata": {
+ "tags": [
+ "hide-cell"
+ ]
+ },
"outputs": [],
"source": [
"# Solution\n",
@@ -1025,7 +1033,11 @@
{
"cell_type": "code",
"execution_count": 27,
- "metadata": {},
+ "metadata": {
+ "tags": [
+ "hide-cell"
+ ]
+ },
"outputs": [],
"source": [
"# Solution\n",
@@ -1038,7 +1050,11 @@
{
"cell_type": "code",
"execution_count": 28,
- "metadata": {},
+ "metadata": {
+ "tags": [
+ "hide-cell"
+ ]
+ },
"outputs": [],
"source": [
"# Solution\n",
@@ -1053,7 +1069,11 @@
{
"cell_type": "code",
"execution_count": 29,
- "metadata": {},
+ "metadata": {
+ "tags": [
+ "hide-cell"
+ ]
+ },
"outputs": [],
"source": [
"# Solution\n",
diff --git a/_sources/07_plot.ipynb b/_sources/07_plot.ipynb
index 77778eb..90aee03 100644
--- a/_sources/07_plot.ipynb
+++ b/_sources/07_plot.ipynb
@@ -239,7 +239,11 @@
{
"cell_type": "code",
"execution_count": 6,
- "metadata": {},
+ "metadata": {
+ "tags": [
+ "hide-cell"
+ ]
+ },
"outputs": [],
"source": [
"# Solution\n",
@@ -298,7 +302,11 @@
{
"cell_type": "code",
"execution_count": 7,
- "metadata": {},
+ "metadata": {
+ "tags": [
+ "hide-cell"
+ ]
+ },
"outputs": [],
"source": [
"# Solution\n",
@@ -978,7 +986,11 @@
{
"cell_type": "code",
"execution_count": 28,
- "metadata": {},
+ "metadata": {
+ "tags": [
+ "hide-cell"
+ ]
+ },
"outputs": [],
"source": [
"# Solution\n",