adding origin article
Browse files
articles.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3354be8aeb199e12bb939b55f8bffdf0d7464ffc5a582ba063907a41aee1ff49
|
3 |
+
size 16685105
|
notebooks_preprocess/preprocess_xml.ipynb
CHANGED
@@ -85,6 +85,10 @@
|
|
85 |
" \n",
|
86 |
" # concatenate the columns\n",
|
87 |
" dataframe_tmp = pd.concat([dataframe_articles, dataframe_metadata], axis=1)\n",
|
|
|
|
|
|
|
|
|
88 |
" df_articles.append(dataframe_tmp)\n",
|
89 |
" \n",
|
90 |
" # concatenate all the dataframes\n",
|
|
|
85 |
" \n",
|
86 |
" # concatenate the columns\n",
|
87 |
" dataframe_tmp = pd.concat([dataframe_articles, dataframe_metadata], axis=1)\n",
|
88 |
+
" \n",
|
89 |
+
" # add the file name\n",
|
90 |
+
" dataframe_tmp[\"file_name\"] = f\n",
|
91 |
+
" \n",
|
92 |
" df_articles.append(dataframe_tmp)\n",
|
93 |
" \n",
|
94 |
" # concatenate all the dataframes\n",
|