-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.py
40 lines (35 loc) ยท 1.25 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
from datetime import datetime
from src import DataLoader, download_data
if __name__ == "__main__":
# ----- NOTE: [Data Download & Load] ----- #
now = datetime.now()
ymd = now.strftime("%Y%m%d")
file_name = f"๋ณ์ญ์ง์ ์
์ฒด๊ฒ์_{ymd}.xls"
download_data(file_name)
# ----- NOTE: [์ ์ฒด ์ ๋ฌธ์ฐ๊ตฌ์์] ----- #
dataloader = DataLoader(file_name, 0)
dataloader.time_tsv()
dataloader.bar("์ฐ๊ตฌ๋ถ์ผ")
dataloader.bar("์ง๋ฐฉ์ฒญ")
dataloader.bar("์
์ข
")
dataloader.bar("์์น")
dataloader.rank_vis("๋ณต๋ฌด์ธ์")
dataloader.rank_vis("ํธ์
์ธ์")
dataloader.rank_readme()
dataloader.plot_time()
# ----- NOTE: [์์ฌ ์ ๋ฌธ์ฐ๊ตฌ์์] ----- #
dataloader = DataLoader(file_name, 1)
dataloader.bar("์ฐ๊ตฌ๋ถ์ผ")
dataloader.bar("์ง๋ฐฉ์ฒญ")
dataloader.bar("์์น")
dataloader.rank_vis("๋ณต๋ฌด์ธ์")
dataloader.rank_vis("ํธ์
์ธ์")
dataloader.rank_readme()
# ----- NOTE: [๋ฐ์ฌ ์ ๋ฌธ์ฐ๊ตฌ์์] ----- #
dataloader = DataLoader(file_name, 2)
dataloader.bar("์ฐ๊ตฌ๋ถ์ผ")
dataloader.bar("์ง๋ฐฉ์ฒญ")
dataloader.bar("์์น")
dataloader.rank_vis("๋ณต๋ฌด์ธ์")
dataloader.rank_vis("ํธ์
์ธ์")
dataloader.rank_readme()