diff --git a/.ipynb_checkpoints/test_notebook-checkpoint.ipynb b/.ipynb_checkpoints/test_notebook-checkpoint.ipynb index 761bd69..3538cb8 100644 --- a/.ipynb_checkpoints/test_notebook-checkpoint.ipynb +++ b/.ipynb_checkpoints/test_notebook-checkpoint.ipynb @@ -7,6 +7,10 @@ "outputs": [], "source": [ "#import necessary modules\n", + "# import the seaborn module\n", + "import seaborn as sns\n", + "# import the matplotlib module\n", + "import matplotlib.pyplot as plt\n", "import pandas as pd\n", "#store the url in a variable\n", "url = \"https://community.watsonanalytics.com/wp-content/uploads/2015/04/WA_Fn-UseC_-Sales-Win-Loss.csv\"\n", @@ -170,12 +174,6 @@ } ], "source": [ - "# import the seaborn module\n", - "import seaborn as sns\n", - "\n", - "# import the matplotlib module\n", - "import matplotlib.pyplot as plt\n", - "\n", "# set the background colour of the plot to white\n", "sns.set(style=\"whitegrid\", color_codes=True)\n", "\n", @@ -196,7 +194,9 @@ "execution_count": null, "metadata": {}, "outputs": [], - "source": [] + "source": [ + "print(\"Amazing\")" + ] } ], "metadata": { diff --git a/test_notebook.ipynb b/test_notebook.ipynb index 761bd69..b0b4062 100644 --- a/test_notebook.ipynb +++ b/test_notebook.ipynb @@ -10,145 +10,7 @@ "import pandas as pd\n", "#store the url in a variable\n", "url = \"https://community.watsonanalytics.com/wp-content/uploads/2015/04/WA_Fn-UseC_-Sales-Win-Loss.csv\"\n", - "sales_data = pd.read_csv(url)" - ] - }, - { - "cell_type": "code", - "execution_count": 2, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Opportunity NumberSupplies SubgroupSupplies GroupRegionRoute To MarketElapsed Days In Sales StageOpportunity ResultSales Stage Change CountTotal Days Identified Through ClosingTotal Days Identified Through QualifiedOpportunity Amount USDClient Size By RevenueClient Size By Employee CountRevenue From Client Past Two YearsCompetitor TypeRatio Days Identified To Total DaysRatio Days Validated To Total DaysRatio Days Qualified To Total DaysDeal Size Category
01641984Exterior AccessoriesCar AccessoriesNorthwestFields Sales76Won131041010550Unknown0.696360.1139850.1542151
11658010Exterior AccessoriesCar AccessoriesPacificReseller63Loss21631630350Unknown0.000001.0000000.0000001
\n", - "
" - ], - "text/plain": [ - " Opportunity Number Supplies Subgroup Supplies Group Region \\\n", - "0 1641984 Exterior Accessories Car Accessories Northwest \n", - "1 1658010 Exterior Accessories Car Accessories Pacific \n", - "\n", - " Route To Market Elapsed Days In Sales Stage Opportunity Result \\\n", - "0 Fields Sales 76 Won \n", - "1 Reseller 63 Loss \n", - "\n", - " Sales Stage Change Count Total Days Identified Through Closing \\\n", - "0 13 104 \n", - "1 2 163 \n", - "\n", - " Total Days Identified Through Qualified Opportunity Amount USD \\\n", - "0 101 0 \n", - "1 163 0 \n", - "\n", - " Client Size By Revenue Client Size By Employee Count \\\n", - "0 5 5 \n", - "1 3 5 \n", - "\n", - " Revenue From Client Past Two Years Competitor Type \\\n", - "0 0 Unknown \n", - "1 0 Unknown \n", - "\n", - " Ratio Days Identified To Total Days Ratio Days Validated To Total Days \\\n", - "0 0.69636 0.113985 \n", - "1 0.00000 1.000000 \n", - "\n", - " Ratio Days Qualified To Total Days Deal Size Category \n", - "0 0.154215 1 \n", - "1 0.000000 1 " - ] - }, - "execution_count": 2, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ + "sales_data = pd.read_csv(url)\n", "sales_data.head()\n", "sales_data.head(n=2)" ] @@ -191,6 +53,13 @@ "plt.show()" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Amazing part II\n" + ] + }, { "cell_type": "code", "execution_count": null,