Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update
Browse files
papers.py
CHANGED
@@ -29,12 +29,13 @@ class PaperInfo:
|
|
29 |
title: str
|
30 |
paper_page: str
|
31 |
upvotes: int
|
|
|
32 |
|
33 |
|
34 |
def get_df() -> pd.DataFrame:
|
35 |
df = pd.merge(
|
36 |
-
left=datasets.load_dataset("hysts-bot-data/daily-papers"
|
37 |
-
right=datasets.load_dataset("hysts-bot-data/daily-papers-
|
38 |
on="arxiv_id",
|
39 |
)
|
40 |
df = df[::-1].reset_index(drop=True)
|
|
|
29 |
title: str
|
30 |
paper_page: str
|
31 |
upvotes: int
|
32 |
+
num_comments: int
|
33 |
|
34 |
|
35 |
def get_df() -> pd.DataFrame:
|
36 |
df = pd.merge(
|
37 |
+
left=datasets.load_dataset("hysts-bot-data/daily-papers", split="train").to_pandas(),
|
38 |
+
right=datasets.load_dataset("hysts-bot-data/daily-papers-stats", split="train").to_pandas(),
|
39 |
on="arxiv_id",
|
40 |
)
|
41 |
df = df[::-1].reset_index(drop=True)
|