diff --git a/Exercise sheet 5/exercise_sheet_05.ipynb b/Exercise sheet 5/exercise_sheet_05.ipynb index 9771602..2e8c62f 100644 --- a/Exercise sheet 5/exercise_sheet_05.ipynb +++ b/Exercise sheet 5/exercise_sheet_05.ipynb @@ -20,12 +20,12 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "id": "f6c9a3b3", "metadata": {}, "outputs": [], "source": [ - "NAME = \"\"\n", + "NAME = \"Kees van Kempen\"\n", "NAMES_OF_COLLABORATORS = \"\"" ] }, @@ -62,7 +62,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "id": "032f87d0", "metadata": { "deletable": false, @@ -226,7 +226,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 3, "id": "9df6a9cc", "metadata": { "deletable": false, @@ -242,7 +242,22 @@ "task": false } }, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "testarray[325] = 0.6746227526601625\n", + "f[\"test\"][325] = 0.6746227526601625\n", + "test[325] = 0.6746227526601625\n", + "f[\"test-plus-one\"][325] = 1.6746227526601625\n", + "f[\"test\"][325] = 0.6746227526601625\n", + "f[\"test-plus-one\"][325] = 1.6746227526601625\n", + "data sets in test.hdf5: ['test', 'test-plus-one']\n", + "data sets in test.hdf5: ['test-plus-one']\n" + ] + } + ], "source": [ "import h5py\n", "\n", @@ -909,7 +924,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3 (ipykernel)", + "display_name": "Python 3", "language": "python", "name": "python3" }, diff --git a/Exercise sheet 5/test.hdf5 b/Exercise sheet 5/test.hdf5 new file mode 100644 index 0000000..f4985e8 Binary files /dev/null and b/Exercise sheet 5/test.hdf5 differ