"source": [
"import pandas as pd\n",
"\n",
- "data_sets = []\n",
+ "data_frames = []\n",
+ "for file in data_files:\n",
"\n",
- "file = data_files[6]\n",
- "print(file)\n",
+ "\tf = open(file, encoding='utf-8')\n",
+ "\tdf_temp = pd.read_json(f)\n",
+ "\tdata_frames.append(df_temp)\n",
"\n",
- "f = open(file, encoding='utf-8')\n",
- "df = pd.read_json(f)"
+ "df = pd.concat(data_frames, ignore_index=True)"
]
},
{
"\n"
]
},
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "#### Pie Chart"
+ ]
+ },
{
"cell_type": "code",
"execution_count": null,
"plt.show()"
]
},
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "#### Plot of closed issues by month and milestone for one project\n"
+ ]
+ },
{
"cell_type": "code",
"execution_count": null,
"dfg.drop(columns=['milestone', 'title', 'url'], inplace=True)\n"
]
},
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {},
- "outputs": [],
- "source": [
- "\n",
- "print(dfg)"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "#### Plot of closed issues by month and milestone for one project\n"
- ]
- },
{
"cell_type": "code",
"execution_count": null,