This commit is contained in:
wassname
2024-09-09 19:36:46 +08:00
parent 57ca69784b
commit 0fb64638b7
6 changed files with 5 additions and 17528 deletions
-2498
View File
File diff suppressed because it is too large Load Diff
-9998
View File
File diff suppressed because it is too large Load Diff
-2499
View File
File diff suppressed because it is too large Load Diff
-2498
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1681,7 +1681,7 @@
"metadata": {},
"outputs": [],
"source": [
"outdir = Path(\"../outputs\")"
"outdir = Path(\"../data/cache\")"
]
},
{
+4 -34
View File
@@ -32,7 +32,7 @@
}
],
"source": [
"fs = sorted(Path('../outputs').glob('*.md'))\n",
"fs = sorted(Path('../data/cache').glob('*.md'))\n",
"len(fs)"
]
},
@@ -142,11 +142,11 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 19,
"metadata": {},
"outputs": [],
"source": [
"df_links.to_csv('links.csv')"
"df_links.to_markdown('../outputs/links.md')"
]
},
{
@@ -154,37 +154,7 @@
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"df_links.to_csv('links.csv')\n"
]
},
{
"cell_type": "code",
"execution_count": 16,
"metadata": {},
"outputs": [],
"source": [
"df_links.to_frame('url').to_html('links.html')\n"
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {},
"outputs": [],
"source": [
"df_links.index = [f'<a href={a}>{a}</a>' for a in df_links.index]\n",
"df_links.to_csv('links2.csv')\n"
]
},
{
"cell_type": "code",
"execution_count": 18,
"metadata": {},
"outputs": [],
"source": [
"df_links.to_markdown('links.md')"
]
"source": []
}
],
"metadata": {