diff --git a/UFCFVQ-15-M Programming Task 2 Template.ipynb b/UFCFVQ-15-M Programming Task 2 Template.ipynb index 7afe2694a8539dec74558e00dc7fc88d07ec7a5e..798506c3c1c88300f4bb54c7774725949d65a987 100644 --- a/UFCFVQ-15-M Programming Task 2 Template.ipynb +++ b/UFCFVQ-15-M Programming Task 2 Template.ipynb @@ -19,7 +19,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 2, "metadata": {}, "outputs": [ { @@ -73,7 +73,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 3, "metadata": {}, "outputs": [ { @@ -121,7 +121,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 4, "metadata": {}, "outputs": [ { @@ -182,7 +182,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 5, "metadata": {}, "outputs": [ { @@ -205,7 +205,14 @@ ] } ], - "source": [] + "source": [ + "\n", + "# Removing rows containing missing values\n", + "cleaned_data_frame = merged_data_frame.dropna()\n", + "\n", + "# Displaying the cleaned new DataFrame\n", + "print(cleaned_data_frame.head())\n" + ] }, { "cell_type": "markdown", @@ -224,7 +231,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 6, "metadata": {}, "outputs": [], "source": [ @@ -248,7 +255,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 7, "metadata": {}, "outputs": [], "source": [ @@ -272,7 +279,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 8, "metadata": {}, "outputs": [], "source": [ @@ -296,7 +303,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 9, "metadata": {}, "outputs": [], "source": [ @@ -320,7 +327,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 10, "metadata": {}, "outputs": [], "source": [ @@ -344,7 +351,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 11, "metadata": {}, "outputs": [], "source": [ @@ -368,7 +375,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 12, "metadata": {}, "outputs": [], "source": [