diff --git a/Exercises_1.ipynb b/Exercises_1.ipynb
index 4a656d2..60157de 100644
--- a/Exercises_1.ipynb
+++ b/Exercises_1.ipynb
@@ -1,6 +1,7 @@
{
"cells": [
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -15,6 +16,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -25,7 +27,7 @@
},
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
@@ -38,7 +40,7 @@
},
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
@@ -49,14 +51,201 @@
},
{
"cell_type": "code",
- "execution_count": null,
- "metadata": {},
- "outputs": [],
+ "execution_count": 3,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "
\n",
+ "\n",
+ "
\n",
+ " \n",
+ " \n",
+ " | \n",
+ " Date | \n",
+ " Day | \n",
+ " Month | \n",
+ " Year | \n",
+ " Customer_Age | \n",
+ " Age_Group | \n",
+ " Customer_Gender | \n",
+ " Country | \n",
+ " State | \n",
+ " Product_Category | \n",
+ " Sub_Category | \n",
+ " Product | \n",
+ " Order_Quantity | \n",
+ " Unit_Cost | \n",
+ " Unit_Price | \n",
+ " Profit | \n",
+ " Cost | \n",
+ " Revenue | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " 0 | \n",
+ " 2013-11-26 | \n",
+ " 26 | \n",
+ " November | \n",
+ " 2013 | \n",
+ " 19 | \n",
+ " Youth (<25) | \n",
+ " M | \n",
+ " Canada | \n",
+ " British Columbia | \n",
+ " Accessories | \n",
+ " Bike Racks | \n",
+ " Hitch Rack - 4-Bike | \n",
+ " 8 | \n",
+ " 45 | \n",
+ " 120 | \n",
+ " 590 | \n",
+ " 360 | \n",
+ " 950 | \n",
+ "
\n",
+ " \n",
+ " 1 | \n",
+ " 2015-11-26 | \n",
+ " 26 | \n",
+ " November | \n",
+ " 2015 | \n",
+ " 19 | \n",
+ " Youth (<25) | \n",
+ " M | \n",
+ " Canada | \n",
+ " British Columbia | \n",
+ " Accessories | \n",
+ " Bike Racks | \n",
+ " Hitch Rack - 4-Bike | \n",
+ " 8 | \n",
+ " 45 | \n",
+ " 120 | \n",
+ " 590 | \n",
+ " 360 | \n",
+ " 950 | \n",
+ "
\n",
+ " \n",
+ " 2 | \n",
+ " 2014-03-23 | \n",
+ " 23 | \n",
+ " March | \n",
+ " 2014 | \n",
+ " 49 | \n",
+ " Adults (35-64) | \n",
+ " M | \n",
+ " Australia | \n",
+ " New South Wales | \n",
+ " Accessories | \n",
+ " Bike Racks | \n",
+ " Hitch Rack - 4-Bike | \n",
+ " 23 | \n",
+ " 45 | \n",
+ " 120 | \n",
+ " 1366 | \n",
+ " 1035 | \n",
+ " 2401 | \n",
+ "
\n",
+ " \n",
+ " 3 | \n",
+ " 2016-03-23 | \n",
+ " 23 | \n",
+ " March | \n",
+ " 2016 | \n",
+ " 49 | \n",
+ " Adults (35-64) | \n",
+ " M | \n",
+ " Australia | \n",
+ " New South Wales | \n",
+ " Accessories | \n",
+ " Bike Racks | \n",
+ " Hitch Rack - 4-Bike | \n",
+ " 20 | \n",
+ " 45 | \n",
+ " 120 | \n",
+ " 1188 | \n",
+ " 900 | \n",
+ " 2088 | \n",
+ "
\n",
+ " \n",
+ " 4 | \n",
+ " 2014-05-15 | \n",
+ " 15 | \n",
+ " May | \n",
+ " 2014 | \n",
+ " 47 | \n",
+ " Adults (35-64) | \n",
+ " F | \n",
+ " Australia | \n",
+ " New South Wales | \n",
+ " Accessories | \n",
+ " Bike Racks | \n",
+ " Hitch Rack - 4-Bike | \n",
+ " 4 | \n",
+ " 45 | \n",
+ " 120 | \n",
+ " 238 | \n",
+ " 180 | \n",
+ " 418 | \n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
"
+ ],
+ "text/plain": [
+ " Date Day Month Year Customer_Age Age_Group \n",
+ "0 2013-11-26 26 November 2013 19 Youth (<25) \\\n",
+ "1 2015-11-26 26 November 2015 19 Youth (<25) \n",
+ "2 2014-03-23 23 March 2014 49 Adults (35-64) \n",
+ "3 2016-03-23 23 March 2016 49 Adults (35-64) \n",
+ "4 2014-05-15 15 May 2014 47 Adults (35-64) \n",
+ "\n",
+ " Customer_Gender Country State Product_Category Sub_Category \n",
+ "0 M Canada British Columbia Accessories Bike Racks \\\n",
+ "1 M Canada British Columbia Accessories Bike Racks \n",
+ "2 M Australia New South Wales Accessories Bike Racks \n",
+ "3 M Australia New South Wales Accessories Bike Racks \n",
+ "4 F Australia New South Wales Accessories Bike Racks \n",
+ "\n",
+ " Product Order_Quantity Unit_Cost Unit_Price Profit Cost \n",
+ "0 Hitch Rack - 4-Bike 8 45 120 590 360 \\\n",
+ "1 Hitch Rack - 4-Bike 8 45 120 590 360 \n",
+ "2 Hitch Rack - 4-Bike 23 45 120 1366 1035 \n",
+ "3 Hitch Rack - 4-Bike 20 45 120 1188 900 \n",
+ "4 Hitch Rack - 4-Bike 4 45 120 238 180 \n",
+ "\n",
+ " Revenue \n",
+ "0 950 \n",
+ "1 950 \n",
+ "2 2401 \n",
+ "3 2088 \n",
+ "4 418 "
+ ]
+ },
+ "execution_count": 3,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
"source": [
"sales.head()"
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -75,6 +264,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"cell_type": "hint"
@@ -95,6 +285,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -133,6 +324,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -162,6 +354,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -200,6 +393,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -229,6 +423,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -256,6 +451,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -285,6 +481,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -312,6 +509,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -352,6 +550,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -379,6 +578,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -410,6 +610,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -437,6 +638,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -468,6 +670,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -499,6 +702,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -530,6 +734,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -561,6 +766,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -594,6 +800,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -625,6 +832,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -656,6 +864,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -687,6 +896,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -716,6 +926,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -745,6 +956,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -776,6 +988,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -803,6 +1016,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -832,6 +1046,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -859,6 +1074,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -890,6 +1106,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -917,6 +1134,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -948,6 +1166,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -975,6 +1194,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -1015,6 +1235,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -1044,6 +1265,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -1073,6 +1295,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -1106,6 +1329,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -1137,6 +1361,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -1168,6 +1393,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -1199,6 +1425,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -1230,6 +1457,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -1259,6 +1487,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -1290,6 +1519,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@@ -1313,7 +1543,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.8.1"
+ "version": "3.11.3"
}
},
"nbformat": 4,