hysts HF staff commited on
Commit
dbe9d55
1 Parent(s): 832c43a
Files changed (1) hide show
  1. papers.py +3 -2
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")["train"].to_pandas(),
37
- right=datasets.load_dataset("hysts-bot-data/daily-papers-upvotes")["train"].to_pandas(),
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)