Skip to content

Commit

Permalink
Move charts to data dir
Browse files Browse the repository at this point in the history
  • Loading branch information
hstsethi committed Oct 12, 2024
1 parent b7f263e commit dd6c22d
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
24 changes: 12 additions & 12 deletions src/analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 3,
"id": "18c71147",
"metadata": {},
"outputs": [],
Expand All @@ -39,7 +39,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 7,
"id": "cac1d855-56ab-41aa-b41d-e009da0c3384",
"metadata": {},
"outputs": [],
Expand All @@ -56,13 +56,13 @@
" return 1\n",
" data = data[target_column].value_counts().plot(kind=kind, title=f\"Mobile Numbers Starting from {prefix} By {target_column}\")\n",
" plt.ylabel(\"Prefix Count\")\n",
" filename = prefix + \"-\" + target_column + \"-\" + kind #.png will be added automatically \n",
" filename = \"../data/\" + prefix + \"-\" + target_column + \"-\" + kind #.png will be added automatically \n",
" plt.savefig(filename)\n"
]
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 8,
"id": "4bbf429f-2aaa-4676-aca7-c6b6455d05f4",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -98,20 +98,20 @@
"id": "686ebc2b-099a-427a-b6a6-a4355773b7ad",
"metadata": {},
"source": [
"[!img](9xxx-circle-bar.png)\n",
"[!img](../data/9xxx-circle-bar.png)\n",
"\n",
"![img](9xxx-operator-bar.png)\n",
"![img](../data/9xxx-operator-bar.png)\n",
"\n",
"![img](8xxx-circle-bar.png)\n",
"![img](8xxx-operator-bar.png)\n",
"![img](../data/8xxx-circle-bar.png)\n",
"![img](../data/8xxx-operator-bar.png)\n",
"\n",
"![img](7xxx-operator-bar.png)\n",
"[!img](7xxx-circle-bar.png)\n",
"![img](../data/7xxx-operator-bar.png)\n",
"[!img](../data/7xxx-circle-bar.png)\n",
"\n",
"\n",
"\n",
"![img](6xxx-operator-bar.png)\n",
"[!img](6xxx-circle-bar.png)\n",
"![img](../data/6xxx-operator-bar.png)\n",
"[!img](../data/6xxx-circle-bar.png)\n",
"\n",
"\n"
]
Expand Down

0 comments on commit dd6c22d

Please sign in to comment.