This commit is contained in:
wassname
2024-09-09 19:33:24 +08:00
parent facb1450f4
commit d5972e8c4e
3 changed files with 5028 additions and 2 deletions
+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
+31 -2
View File
@@ -146,7 +146,6 @@
"metadata": {},
"outputs": [],
"source": [
"df_links.index.tolist()\n",
"df_links.to_csv('links.csv')"
]
},
@@ -155,7 +154,37 @@
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
"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')"
]
}
],
"metadata": {