mirror of
https://github.com/wassname/scrape_r_rational.git
synced 2026-09-10 12:35:53 +08:00
wip
This commit is contained in:
-2498
File diff suppressed because it is too large
Load Diff
-9998
File diff suppressed because it is too large
Load Diff
-2499
File diff suppressed because it is too large
Load Diff
-2498
File diff suppressed because it is too large
Load Diff
@@ -1681,7 +1681,7 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"outdir = Path(\"../outputs\")"
|
||||
"outdir = Path(\"../data/cache\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user