Actualizada Documentación y Continuacion de análisis de datos
This commit is contained in:
@@ -1582,9 +1582,141 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 33,
|
||||
"id": "3312e42c",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"np.int64(38)"
|
||||
]
|
||||
},
|
||||
"execution_count": 33,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"df[\"fecha_publicacion\"].isna().sum()"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 35,
|
||||
"id": "8b74536b",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/html": [
|
||||
"<div>\n",
|
||||
"<style scoped>\n",
|
||||
" .dataframe tbody tr th:only-of-type {\n",
|
||||
" vertical-align: middle;\n",
|
||||
" }\n",
|
||||
"\n",
|
||||
" .dataframe tbody tr th {\n",
|
||||
" vertical-align: top;\n",
|
||||
" }\n",
|
||||
"\n",
|
||||
" .dataframe thead th {\n",
|
||||
" text-align: right;\n",
|
||||
" }\n",
|
||||
"</style>\n",
|
||||
"<table border=\"1\" class=\"dataframe\">\n",
|
||||
" <thead>\n",
|
||||
" <tr style=\"text-align: right;\">\n",
|
||||
" <th></th>\n",
|
||||
" <th>id</th>\n",
|
||||
" <th>fecha_publicacion</th>\n",
|
||||
" </tr>\n",
|
||||
" </thead>\n",
|
||||
" <tbody>\n",
|
||||
" <tr>\n",
|
||||
" <th>0</th>\n",
|
||||
" <td>EXP-001</td>\n",
|
||||
" <td>2026-08 aprox.</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>1</th>\n",
|
||||
" <td>EXP-002</td>\n",
|
||||
" <td>2025 aprox.</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>2</th>\n",
|
||||
" <td>EXP-003</td>\n",
|
||||
" <td>2026-10 aprox.</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>3</th>\n",
|
||||
" <td>EXP-004</td>\n",
|
||||
" <td>2026-09 aprox.</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>4</th>\n",
|
||||
" <td>EXP-006</td>\n",
|
||||
" <td>2026-08 aprox. (post retrospectivo sobre event...</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>5</th>\n",
|
||||
" <td>EXP-007</td>\n",
|
||||
" <td>2026-10-15 aprox.</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>6</th>\n",
|
||||
" <td>EXP-009</td>\n",
|
||||
" <td>2026-10 aprox.</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>7</th>\n",
|
||||
" <td>EXP-011</td>\n",
|
||||
" <td>2024-10/11 aprox.</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>8</th>\n",
|
||||
" <td>EXP-012</td>\n",
|
||||
" <td>2024-11 aprox.</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>9</th>\n",
|
||||
" <td>EXP-014</td>\n",
|
||||
" <td>2024-10-30 aprox.</td>\n",
|
||||
" </tr>\n",
|
||||
" </tbody>\n",
|
||||
"</table>\n",
|
||||
"</div>"
|
||||
],
|
||||
"text/plain": [
|
||||
" id fecha_publicacion\n",
|
||||
"0 EXP-001 2026-08 aprox.\n",
|
||||
"1 EXP-002 2025 aprox.\n",
|
||||
"2 EXP-003 2026-10 aprox.\n",
|
||||
"3 EXP-004 2026-09 aprox.\n",
|
||||
"4 EXP-006 2026-08 aprox. (post retrospectivo sobre event...\n",
|
||||
"5 EXP-007 2026-10-15 aprox.\n",
|
||||
"6 EXP-009 2026-10 aprox.\n",
|
||||
"7 EXP-011 2024-10/11 aprox.\n",
|
||||
"8 EXP-012 2024-11 aprox.\n",
|
||||
"9 EXP-014 2024-10-30 aprox."
|
||||
]
|
||||
},
|
||||
"execution_count": 35,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"raw = pd.read_csv(path)\n",
|
||||
"pd.merge(df.loc[df[\"fecha_publicacion\"].isna(), [\"id\"]],\n",
|
||||
" raw[[\"id\", \"fecha_publicacion\"]], on=\"id\").head(10)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "77dda386",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user