Skip to content

Commit

Permalink
[refactor] modified csv upload
Browse files Browse the repository at this point in the history
  • Loading branch information
wj-cosmos57 committed Mar 11, 2024
1 parent 02a4939 commit a9bdb7a
Show file tree
Hide file tree
Showing 5 changed files with 4,020 additions and 2,354 deletions.
2 changes: 2 additions & 0 deletions assets/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
'August': 8,
'September': 9,
'October': 10,
'Oct': 10,
'November': 11,
'December': 12
}
Expand Down Expand Up @@ -141,6 +142,7 @@
# print("3")
# print(papers[paper_idx][DATE_IDX])
month, dummy, year = re.search(r'([A-Za-z]+)\.-([A-Za-z]+).? ([0-9]+)', papers[paper_idx][DATE_IDX]).groups()

# 예외처리: Jan. 2011
elif re.search(r'([A-Za-z]+)\. ([0-9]+)', papers[paper_idx][DATE_IDX]):
# print("4")
Expand Down
Loading

0 comments on commit a9bdb7a

Please sign in to comment.