diff --git a/02_activities/assignments/assignment_2.ipynb b/02_activities/assignments/assignment_2.ipynb index b9b87742..c99e24a6 100644 --- a/02_activities/assignments/assignment_2.ipynb +++ b/02_activities/assignments/assignment_2.ipynb @@ -34,7 +34,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 7, "id": "4a3485d6-ba58-4660-a983-5680821c5719", "metadata": {}, "outputs": [], @@ -50,7 +50,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 5, "id": "a431d282-f9ca-4d5d-8912-71ffc9d8ea19", "metadata": {}, "outputs": [ @@ -167,7 +167,7 @@ "4 70 usa ford torino " ] }, - "execution_count": 2, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } @@ -200,7 +200,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 8, "id": "5d79f1cf", "metadata": {}, "outputs": [ @@ -257,7 +257,7 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 9, "id": "ac306190", "metadata": {}, "outputs": [ @@ -276,7 +276,7 @@ "dtype: object" ] }, - "execution_count": 22, + "execution_count": 9, "metadata": {}, "output_type": "execute_result" } @@ -305,34 +305,134 @@ }, { "cell_type": "code", - "execution_count": 27, + "execution_count": 10, "id": "9f034a5d", "metadata": {}, "outputs": [ { - "name": "stdout", - "output_type": "stream", - "text": [ - " mpg cylinders displacement horsepower weight acceleration \\\n", - "19 26.0 4 97.0 46.0 1835 20.5 \n", - "102 26.0 4 97.0 46.0 1950 21.0 \n", - "326 43.4 4 90.0 48.0 2335 23.7 \n", - "325 44.3 4 90.0 48.0 2085 21.7 \n", - "244 43.1 4 90.0 48.0 1985 21.5 \n", - "\n", - " model_year origin name \n", - "19 70 europe volkswagen 1131 deluxe sedan \n", - "102 73 europe volkswagen super beetle \n", - "326 80 europe vw dasher (diesel) \n", - "325 80 europe vw rabbit c (diesel) \n", - "244 78 europe volkswagen rabbit custom diesel \n" - ] + "data": { + "text/html": [ + "
\n", + " | mpg | \n", + "cylinders | \n", + "displacement | \n", + "horsepower | \n", + "weight | \n", + "acceleration | \n", + "model_year | \n", + "origin | \n", + "name | \n", + "
---|---|---|---|---|---|---|---|---|---|
116 | \n", + "16.0 | \n", + "8 | \n", + "400.0 | \n", + "230.0 | \n", + "4278 | \n", + "9.5 | \n", + "73 | \n", + "usa | \n", + "pontiac grand prix | \n", + "
8 | \n", + "14.0 | \n", + "8 | \n", + "455.0 | \n", + "225.0 | \n", + "4425 | \n", + "10.0 | \n", + "70 | \n", + "usa | \n", + "pontiac catalina | \n", + "
13 | \n", + "14.0 | \n", + "8 | \n", + "455.0 | \n", + "225.0 | \n", + "3086 | \n", + "10.0 | \n", + "70 | \n", + "usa | \n", + "buick estate wagon (sw) | \n", + "
95 | \n", + "12.0 | \n", + "8 | \n", + "455.0 | \n", + "225.0 | \n", + "4951 | \n", + "11.0 | \n", + "73 | \n", + "usa | \n", + "buick electra 225 custom | \n", + "
6 | \n", + "14.0 | \n", + "8 | \n", + "454.0 | \n", + "220.0 | \n", + "4354 | \n", + "9.0 | \n", + "70 | \n", + "usa | \n", + "chevrolet impala | \n", + "