김승훈

project

1 +
2 +import numpy as np # linear algebra
3 +import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)
4 +from bs4 import BeautifulSoup
5 +import urllib
6 +from urllib import request
7 +import re
8 +import json
9 +from datetime import datetime
10 +
11 +import plotly.offline as py
12 +py.init_notebook_mode(connected=True)
13 +import plotly.graph_objs as go
14 +import plotly.tools as tls
15 +import matplotlib.pyplot as plt
16 +from random import shuffle
17 +import random
18 +#Setup
19 +#load dataset
20 +print("start read_csv")
21 +df = pd.read_csv("trendresult.csv")
22 +
23 +df = pd.DataFrame(df)
24 +
25 +fig, axes = plt.subplots(nrows=3, ncols=2)
26 +
27 +
28 +#df.plot(title = "Naver Trend - Stock-Daily", figsize = (20, 10), legend = False)
29 +
30 +print("start read_csv_1")
31 +df2 = pd.read_csv("finace_285130.csv")
32 +df2 = pd.DataFrame(df2)
33 +print(df2)
34 +df["SK케미칼"].plot(title = "SK-chemical", figsize = (20,10), legend = False,ax=axes[0,0])
35 +print(df["SK케미칼"])
36 +df2.plot(title = "SK-chemical - Stock-Daily", figsize = (20, 10), legend = False,ax=axes[0,1])
37 +
38 +df3 = pd.read_csv("finace_307070.csv")
39 +df3 = pd.DataFrame(df3)
40 +df["삼성머스트스팩3호"].plot(title = "삼성머스트스팩3호", figsize = (20,10), legend = False,ax=axes[1,0])
41 +print(df3)
42 +print(df["삼성머스트스팩3호"])
43 +df3.plot(title = "SK hos - Stock-Daily", figsize = (20, 10), legend = False,ax=axes[1,1])
44 +
45 +df4 = pd.read_csv("finace_309930.csv")
46 +df4 = pd.DataFrame(df4)
47 +df["SK4호스팩"].plot(title = "SK-호스팩", figsize = (20,10), legend = False,ax=axes[2,0])
48 +print(df4)
49 +print(df["SK4호스팩"])
50 +df4.plot(title = "samsung - Stock-Daily", figsize = (20, 10), legend = False,ax=axes[2,1])
1 +date,finance
2 +2020.05.07,78800
3 +2020.05.06,77700
4 +2020.05.04,75500
5 +2020.04.29,77700
6 +2020.04.28,78600
7 +2020.04.27,77700
8 +2020.04.24,77300
9 +2020.04.23,77800
10 +2020.04.22,78900
11 +2020.04.21,77700
12 +2020.04.20,79200
13 +2020.04.17,79300
14 +2020.04.16,80200
15 +2020.04.14,82400
16 +2020.04.13,83900
17 +2020.04.10,81000
18 +2020.04.09,80700
19 +2020.04.08,79100
20 +2020.04.07,80600
21 +2020.04.06,82000
22 +2020.04.03,81000
23 +2020.04.02,80500
24 +2020.04.01,81500
25 +2020.03.31,84600
26 +2020.03.30,87300
27 +2020.03.27,76800
28 +2020.03.26,71600
29 +2020.03.25,64800
30 +2020.03.24,64800
31 +2020.03.23,63400
32 +2020.03.20,62800
33 +2020.03.19,56700
34 +2020.03.18,64300
35 +2020.03.17,61000
36 +2020.03.16,54300
37 +2020.03.13,52500
38 +2020.03.12,57000
39 +2020.03.11,59900
40 +2020.03.10,62000
41 +2020.03.09,64100
42 +2020.03.06,60600
43 +2020.03.05,61900
44 +2020.03.04,62100
45 +2020.03.03,61000
46 +2020.03.02,60000
47 +2020.02.28,57500
48 +2020.02.27,60100
49 +2020.02.26,61600
50 +2020.02.25,63900
51 +2020.02.24,63600
52 +2020.02.21,67100
53 +2020.02.20,68400
54 +2020.02.19,66900
55 +2020.02.18,67100
56 +2020.02.17,68000
57 +2020.02.14,68900
58 +2020.02.13,70000
59 +2020.02.12,70700
60 +2020.02.11,69900
61 +2020.02.10,68300
62 +2020.02.07,69900
63 +2020.02.06,69900
64 +2020.02.05,66800
65 +2020.02.04,59800
66 +2020.02.03,58000
67 +2020.01.31,57900
68 +2020.01.30,60600
69 +2020.01.29,62700
70 +2020.01.28,64100
71 +2020.01.23,66200
72 +2020.01.22,66300
73 +2020.01.21,66200
74 +2020.01.20,67500
75 +2020.01.17,66200
76 +2020.01.16,66100
77 +2020.01.15,66200
78 +2020.01.14,67000
79 +2020.01.13,66500
80 +2020.01.10,69000
81 +2020.01.09,65100
82 +2020.01.08,63100
83 +2020.01.07,65800
84 +2020.01.06,66400
85 +2020.01.03,67000
86 +2020.01.02,66700
87 +2019.12.30,64000
88 +2019.12.27,63000
89 +2019.12.26,62200
90 +2019.12.24,63100
91 +2019.12.23,61100
92 +2019.12.20,60500
93 +2019.12.19,60600
94 +2019.12.18,60500
95 +2019.12.17,60900
96 +2019.12.16,62000
97 +2019.12.13,62300
98 +2019.12.12,62200
99 +2019.12.11,61600
100 +2019.12.10,61400
101 +2019.12.09,61200
102 +2019.12.06,62700
103 +2019.12.05,62500
104 +2019.12.04,63800
105 +2019.12.03,65200
106 +2019.12.02,66800
107 +2019.11.29,70200
108 +2019.11.28,77200
109 +2019.11.27,73400
110 +2019.11.26,56500
111 +2019.11.25,57100
112 +2019.11.22,54400
113 +2019.11.21,52100
114 +2019.11.20,52300
115 +2019.11.19,53200
116 +2019.11.18,53900
117 +2019.11.15,54200
118 +2019.11.14,54800
119 +2019.11.13,54000
120 +2019.11.12,54800
121 +2019.11.11,53400
122 +2019.11.08,52500
123 +2019.11.07,51000
124 +2019.11.06,50400
125 +2019.11.05,51000
126 +2019.11.04,50900
127 +2019.11.01,47600
128 +2019.10.31,47200
129 +2019.10.30,47400
130 +2019.10.29,47700
131 +2019.10.28,47450
132 +2019.10.25,46950
133 +2019.10.24,47400
134 +2019.10.23,47300
135 +2019.10.22,47200
136 +2019.10.21,47400
137 +2019.10.18,47300
138 +2019.10.17,47550
139 +2019.10.16,47850
140 +2019.10.15,48200
141 +2019.10.14,47150
142 +2019.10.11,45450
143 +2019.10.10,44500
144 +2019.10.08,44700
145 +2019.10.07,44250
146 +2019.10.04,44250
147 +2019.10.02,45350
148 +2019.10.01,46550
149 +2019.09.30,45300
150 +2019.09.27,46150
151 +2019.09.26,46900
152 +2019.09.25,47000
153 +2019.09.24,48300
154 +2019.09.23,47850
155 +2019.09.20,48100
156 +2019.09.19,47750
157 +2019.09.18,48100
158 +2019.09.17,48200
159 +2019.09.16,48100
160 +2019.09.11,45950
161 +2019.09.10,45700
162 +2019.09.09,43500
163 +2019.09.06,44200
164 +2019.09.05,45000
165 +2019.09.04,44750
166 +2019.09.03,44700
167 +2019.09.02,43900
168 +2019.08.30,43550
169 +2019.08.29,42950
170 +2019.08.28,43300
171 +2019.08.27,43050
172 +2019.08.26,43400
173 +2019.08.23,44150
174 +2019.08.22,44200
175 +2019.08.21,43600
176 +2019.08.20,44100
177 +2019.08.19,43550
178 +2019.08.16,42050
179 +2019.08.14,42550
180 +2019.08.13,42500
181 +2019.08.12,42150
182 +2019.08.09,42600
183 +2019.08.08,42650
184 +2019.08.07,41750
185 +2019.08.06,40200
186 +2019.08.05,41550
187 +2019.08.02,42700
188 +2019.08.01,44050
189 +2019.07.31,44500
190 +2019.07.30,45500
191 +2019.07.29,45550
192 +2019.07.26,47000
193 +2019.07.25,47650
194 +2019.07.24,49000
195 +2019.07.23,49100
196 +2019.07.22,49800
197 +2019.07.19,49300
198 +2019.07.18,48700
199 +2019.07.17,49150
200 +2019.07.16,51100
201 +2019.07.15,50600
202 +2019.07.12,52400
203 +2019.07.11,53400
204 +2019.07.10,53200
205 +2019.07.09,52700
206 +2019.07.08,53600
207 +2019.07.05,55900
208 +2019.07.04,55900
209 +2019.07.03,56900
210 +2019.07.02,57800
211 +2019.07.01,58300
212 +2019.06.28,57500
213 +2019.06.27,58000
214 +2019.06.26,56900
215 +2019.06.25,57400
216 +2019.06.24,58300
217 +2019.06.21,59000
218 +2019.06.20,58000
219 +2019.06.19,57100
220 +2019.06.18,56500
221 +2019.06.17,56300
222 +2019.06.14,57900
223 +2019.06.13,59100
224 +2019.06.12,59200
225 +2019.06.11,59400
226 +2019.06.10,58400
227 +2019.06.07,58300
228 +2019.06.05,57400
229 +2019.06.04,57500
230 +2019.06.03,56300
231 +2019.05.31,56900
232 +2019.05.30,56400
233 +2019.05.29,57000
234 +2019.05.28,58300
235 +2019.05.27,59100
236 +2019.05.24,58200
237 +2019.05.23,57800
238 +2019.05.22,59600
239 +2019.05.21,59300
240 +2019.05.20,59900
241 +2019.05.17,60400
242 +2019.05.16,61000
243 +2019.05.15,61300
244 +2019.05.14,60400
245 +2019.05.13,61000
246 +2019.05.10,63400
247 +2019.05.09,64100
248 +2019.05.08,65300
249 +2019.05.07,65400
250 +2019.05.03,67200
251 +2019.05.02,67500
252 +2019.04.30,67700
253 +2019.04.29,67700
254 +2019.04.26,66000
255 +2019.04.25,67400
256 +2019.04.24,68500
257 +2019.04.23,69800
258 +2019.04.22,69900
259 +2019.04.19,71600
260 +2019.04.18,70900
261 +2019.04.17,72800
262 +2019.04.16,70600
263 +2019.04.15,71100
264 +2019.04.12,70600
265 +2019.04.11,71200
266 +2019.04.10,69800
267 +2019.04.09,68200
268 +2019.04.08,69000
269 +2019.04.05,69800
270 +2019.04.04,70400
271 +2019.04.03,70400
272 +2019.04.02,69000
273 +2019.04.01,70400
274 +2019.03.29,69300
275 +2019.03.28,69200
276 +2019.03.27,67800
277 +2019.03.26,68100
278 +2019.03.25,67500
279 +2019.03.22,67900
280 +2019.03.21,70200
281 +2019.03.20,71900
282 +2019.03.19,71600
283 +2019.03.18,73100
284 +2019.03.15,70600
285 +2019.03.14,70600
286 +2019.03.13,72500
287 +2019.03.12,71900
288 +2019.03.11,72400
289 +2019.03.08,73000
290 +2019.03.07,74000
291 +2019.03.06,75900
292 +2019.03.05,75800
293 +2019.03.04,77300
294 +2019.02.28,73700
295 +2019.02.27,73200
296 +2019.02.26,72600
297 +2019.02.25,73000
298 +2019.02.22,72600
299 +2019.02.21,73500
300 +2019.02.20,73700
301 +2019.02.19,74900
302 +2019.02.18,75100
303 +2019.02.15,74900
304 +2019.02.14,75000
305 +2019.02.13,74300
306 +2019.02.12,72400
307 +2019.02.11,71400
308 +2019.02.08,70800
309 +2019.02.07,66800
310 +2019.02.01,67500
311 +2019.01.31,68500
312 +2019.01.30,68000
313 +2019.01.29,67900
314 +2019.01.28,68300
315 +2019.01.25,67700
316 +2019.01.24,67200
317 +2019.01.23,67100
318 +2019.01.22,67300
319 +2019.01.21,65700
320 +2019.01.18,64000
321 +2019.01.17,63700
322 +2019.01.16,64200
323 +2019.01.15,65000
324 +2019.01.14,66600
325 +2019.01.11,67600
326 +2019.01.10,68700
327 +2019.01.09,67700
328 +2019.01.08,66700
329 +2019.01.07,66200
330 +2019.01.04,66500
331 +2019.01.03,69100
332 +2019.01.02,69700
333 +2018.12.28,70000
334 +2018.12.27,69800
335 +2018.12.26,70500
336 +2018.12.24,71300
337 +2018.12.21,72100
338 +2018.12.20,72500
339 +2018.12.19,73100
340 +2018.12.18,70700
341 +2018.12.17,71700
342 +2018.12.14,71300
343 +2018.12.13,73600
344 +2018.12.12,73100
345 +2018.12.11,69900
346 +2018.12.10,72200
347 +2018.12.07,72500
348 +2018.12.06,73800
349 +2018.12.05,75300
350 +2018.12.04,76600
351 +2018.12.03,78400
352 +2018.11.30,77700
353 +2018.11.29,78000
354 +2018.11.28,78800
355 +2018.11.27,78600
356 +2018.11.26,79800
357 +2018.11.23,78500
358 +2018.11.22,79100
359 +2018.11.21,77800
360 +2018.11.20,72800
361 +2018.11.19,71600
362 +2018.11.16,70700
363 +2018.11.15,70600
364 +2018.11.14,69900
365 +2018.11.13,70200
366 +2018.11.12,70900
367 +2018.11.09,72700
368 +2018.11.08,70000
369 +2018.11.07,64600
370 +2018.11.06,66300
371 +2018.11.05,65000
372 +2018.11.02,64500
373 +2018.11.01,60800
374 +2018.10.31,60400
375 +2018.10.30,60200
376 +2018.10.29,58000
377 +2018.10.26,63500
378 +2018.10.25,65700
379 +2018.10.24,66400
380 +2018.10.23,65500
381 +2018.10.22,67500
382 +2018.10.19,69800
383 +2018.10.18,70600
384 +2018.10.17,71700
385 +2018.10.16,70600
386 +2018.10.15,71700
387 +2018.10.12,72000
388 +2018.10.11,72200
389 +2018.10.10,73200
390 +2018.10.08,77600
391 +2018.10.05,80000
392 +2018.10.04,80900
393 +2018.10.02,84100
394 +2018.10.01,85000
395 +2018.09.28,85200
396 +2018.09.27,85200
397 +2018.09.21,84400
398 +2018.09.20,82800
399 +2018.09.19,82500
400 +2018.09.18,84100
401 +2018.09.17,86200
402 +2018.09.14,86600
403 +2018.09.13,87100
404 +2018.09.12,88400
405 +2018.09.11,88800
406 +2018.09.10,90700
407 +2018.09.07,90000
408 +2018.09.06,89000
409 +2018.09.05,87800
410 +2018.09.04,88100
411 +2018.09.03,86700
412 +2018.08.31,86600
413 +2018.08.30,86000
414 +2018.08.29,85200
415 +2018.08.28,82600
416 +2018.08.27,82400
417 +2018.08.24,81800
418 +2018.08.23,79800
419 +2018.08.22,80500
420 +2018.08.21,82500
421 +2018.08.20,81300
422 +2018.08.17,82000
423 +2018.08.16,82600
424 +2018.08.14,84400
425 +2018.08.13,85500
426 +2018.08.10,88000
427 +2018.08.09,87500
428 +2018.08.08,88200
429 +2018.08.07,89000
430 +2018.08.06,90000
431 +2018.08.03,88800
432 +2018.08.02,88400
433 +2018.08.01,90100
434 +2018.07.31,89700
435 +2018.07.30,87100
436 +2018.07.27,88100
437 +2018.07.26,88400
438 +2018.07.25,87600
439 +2018.07.24,90400
440 +2018.07.23,89900
441 +2018.07.20,92400
442 +2018.07.19,93200
443 +2018.07.18,94200
444 +2018.07.17,94400
445 +2018.07.16,94400
446 +2018.07.13,95100
447 +2018.07.12,94000
448 +2018.07.11,94000
449 +2018.07.10,93300
450 +2018.07.09,92900
451 +2018.07.06,93800
452 +2018.07.05,90600
453 +2018.07.04,92200
454 +2018.07.03,91500
455 +2018.07.02,92500
456 +2018.06.29,92900
457 +2018.06.28,92800
458 +2018.06.27,91800
459 +2018.06.26,92700
460 +2018.06.25,92300
461 +2018.06.22,93000
462 +2018.06.21,92300
463 +2018.06.20,92000
464 +2018.06.19,88700
465 +2018.06.18,93000
466 +2018.06.15,96300
467 +2018.06.14,91100
468 +2018.06.12,90100
469 +2018.06.11,89700
470 +2018.06.08,88700
471 +2018.06.07,88000
472 +2018.06.05,86400
473 +2018.06.04,85700
474 +2018.06.01,88100
475 +2018.05.31,88900
476 +2018.05.30,87300
477 +2018.05.29,88600
478 +2018.05.28,85100
479 +2018.05.25,84500
480 +2018.05.24,87900
481 +2018.05.23,90200
482 +2018.05.21,91900
483 +2018.05.18,93800
484 +2018.05.17,94500
485 +2018.05.16,96600
486 +2018.05.15,96700
487 +2018.05.14,98000
488 +2018.05.11,98100
489 +2018.05.10,97700
490 +2018.05.09,98400
491 +2018.05.08,98700
492 +2018.05.04,100500
493 +2018.05.03,102500
494 +2018.05.02,100500
495 +2018.04.30,101500
496 +2018.04.27,102500
497 +2018.04.26,105000
498 +2018.04.25,105000
499 +2018.04.24,105000
500 +2018.04.23,106000
501 +2018.04.20,103000
502 +2018.04.19,102500
503 +2018.04.18,103500
504 +2018.04.17,106000
505 +2018.04.16,107000
506 +2018.04.13,106500
507 +2018.04.12,106500
508 +2018.04.11,107000
509 +2018.04.10,104500
510 +2018.04.09,105000
511 +2018.04.06,101500
512 +2018.04.05,101500
513 +2018.04.04,103000
514 +2018.04.03,104000
515 +2018.04.02,103500
516 +2018.03.30,105000
517 +2018.03.29,104000
518 +2018.03.28,102000
519 +2018.03.27,104500
520 +2018.03.26,105000
521 +2018.03.23,105000
522 +2018.03.22,110500
523 +2018.03.21,109000
524 +2018.03.20,108000
525 +2018.03.19,110500
526 +2018.03.16,110500
527 +2018.03.15,112000
528 +2018.03.14,113000
529 +2018.03.13,110500
530 +2018.03.12,109500
531 +2018.03.09,109000
532 +2018.03.08,109000
533 +2018.03.07,106000
534 +2018.03.06,105000
535 +2018.03.05,104500
536 +2018.03.02,106500
537 +2018.02.28,109000
538 +2018.02.27,109000
539 +2018.02.26,110000
540 +2018.02.23,113500
541 +2018.02.22,111000
542 +2018.02.21,113000
543 +2018.02.20,109500
544 +2018.02.19,109500
545 +2018.02.14,105000
546 +2018.02.13,107000
547 +2018.02.12,103000
548 +2018.02.09,100500
549 +2018.02.08,100000
550 +2018.02.07,99200
551 +2018.02.06,101500
552 +2018.02.05,102500
553 +2018.02.02,109000
554 +2018.02.01,112000
555 +2018.01.31,115000
556 +2018.01.30,115500
557 +2018.01.29,112000
558 +2018.01.26,112500
559 +2018.01.25,115000
560 +2018.01.24,115000
561 +2018.01.23,111000
562 +2018.01.22,109500
563 +2018.01.19,111000
564 +2018.01.18,111500
565 +2018.01.17,112500
566 +2018.01.16,120000
567 +2018.01.15,122000
568 +2018.01.12,118500
569 +2018.01.11,114000
570 +2018.01.10,114000
571 +2018.01.09,116000
572 +2018.01.08,101000
573 +2018.01.05,107500
1 +date,finance
2 +2020.05.07,2020
3 +2020.05.06,2020
4 +2020.05.04,2020
5 +2020.04.29,2025
6 +2020.04.28,2010
7 +2020.04.27,2020
8 +2020.04.24,2020
9 +2020.04.23,2010
10 +2020.04.22,2010
11 +2020.04.21,2010
12 +2020.04.20,2010
13 +2020.04.17,2010
14 +2020.04.16,2025
15 +2020.04.14,2025
16 +2020.04.13,2020
17 +2020.04.10,2020
18 +2020.04.09,2020
19 +2020.04.08,2015
20 +2020.04.07,2005
21 +2020.04.06,2010
22 +2020.04.03,2010
23 +2020.04.02,2000
24 +2020.04.01,2000
25 +2020.03.31,2005
26 +2020.03.30,2010
27 +2020.03.27,2010
28 +2020.03.26,2010
29 +2020.03.25,2010
30 +2020.03.24,2000
31 +2020.03.23,2010
32 +2020.03.20,2010
33 +2020.03.19,2005
34 +2020.03.18,2015
35 +2020.03.17,2015
36 +2020.03.16,2030
37 +2020.03.13,2030
38 +2020.03.12,2035
39 +2020.03.11,2025
40 +2020.03.10,2050
41 +2020.03.09,2050
42 +2020.03.06,2050
43 +2020.03.05,2050
44 +2020.03.04,2050
45 +2020.03.03,2040
46 +2020.03.02,2020
47 +2020.02.28,2050
48 +2020.02.27,2050
49 +2020.02.26,2050
50 +2020.02.25,2045
51 +2020.02.24,2050
52 +2020.02.21,2050
53 +2020.02.20,2050
54 +2020.02.19,2045
55 +2020.02.18,2050
56 +2020.02.17,2050
57 +2020.02.14,2040
58 +2020.02.13,2045
59 +2020.02.12,2045
60 +2020.02.11,2040
61 +2020.02.10,2040
62 +2020.02.07,2015
63 +2020.02.06,2040
64 +2020.02.05,2050
65 +2020.02.04,2030
66 +2020.02.03,2050
67 +2020.01.31,2040
68 +2020.01.30,2040
69 +2020.01.29,2035
70 +2020.01.28,2035
71 +2020.01.23,2050
72 +2020.01.22,2040
73 +2020.01.21,2040
74 +2020.01.20,2030
75 +2020.01.17,2025
76 +2020.01.16,2030
77 +2020.01.15,2025
78 +2020.01.14,2035
79 +2020.01.13,2025
80 +2020.01.10,2035
81 +2020.01.09,2035
82 +2020.01.08,2025
83 +2020.01.07,2045
84 +2020.01.06,2030
85 +2020.01.03,2045
86 +2020.01.02,2035
87 +2019.12.30,2045
88 +2019.12.27,2045
89 +2019.12.26,2035
90 +2019.12.24,2040
91 +2019.12.23,2035
92 +2019.12.20,2045
93 +2019.12.19,2045
94 +2019.12.18,2045
95 +2019.12.17,2040
96 +2019.12.16,2065
97 +2019.12.13,2075
98 +2019.12.12,2065
99 +2019.12.11,2055
100 +2019.12.10,2070
101 +2019.12.09,2070
102 +2019.12.06,2075
103 +2019.12.05,2075
104 +2019.12.04,2075
105 +2019.12.03,2080
106 +2019.12.02,2080
107 +2019.11.29,2070
108 +2019.11.28,2050
109 +2019.11.27,2080
110 +2019.11.26,2075
111 +2019.11.25,2070
112 +2019.11.22,2070
113 +2019.11.21,2070
114 +2019.11.20,2075
115 +2019.11.19,2060
116 +2019.11.18,2060
117 +2019.11.15,2055
118 +2019.11.14,2075
119 +2019.11.13,2060
120 +2019.11.12,2065
121 +2019.11.11,2070
122 +2019.11.08,2075
123 +2019.11.07,2070
124 +2019.11.06,2055
125 +2019.11.05,2065
126 +2019.11.04,2065
127 +2019.11.01,2080
128 +2019.10.31,2070
129 +2019.10.30,2060
130 +2019.10.29,2080
131 +2019.10.28,2070
132 +2019.10.25,2060
133 +2019.10.24,2085
134 +2019.10.23,2085
135 +2019.10.22,2090
136 +2019.10.21,2095
137 +2019.10.18,2095
138 +2019.10.17,2085
139 +2019.10.16,2080
140 +2019.10.15,2085
141 +2019.10.14,2090
142 +2019.10.11,2095
143 +2019.10.10,2095
144 +2019.10.08,2095
145 +2019.10.07,2095
146 +2019.10.04,2100
147 +2019.10.02,2100
148 +2019.10.01,2095
149 +2019.09.30,2090
150 +2019.09.27,2095
151 +2019.09.26,2100
152 +2019.09.25,2095
153 +2019.09.24,2090
154 +2019.09.23,2090
155 +2019.09.20,2095
156 +2019.09.19,2085
157 +2019.09.18,2100
158 +2019.09.17,2105
159 +2019.09.16,2115
160 +2019.09.11,2100
161 +2019.09.10,2090
162 +2019.09.09,2100
163 +2019.09.06,2100
164 +2019.09.05,2080
165 +2019.09.04,2095
166 +2019.09.03,2075
167 +2019.09.02,2095
168 +2019.08.30,2090
169 +2019.08.29,2095
170 +2019.08.28,2100
171 +2019.08.27,2090
172 +2019.08.26,2075
173 +2019.08.23,2080
174 +2019.08.22,2080
175 +2019.08.21,2090
176 +2019.08.20,2090
177 +2019.08.19,2080
178 +2019.08.16,2095
179 +2019.08.14,2100
180 +2019.08.13,2090
181 +2019.08.12,2075
182 +2019.08.09,2080
183 +2019.08.08,2095
184 +2019.08.07,2090
185 +2019.08.06,2085
186 +2019.08.05,2095
187 +2019.08.02,2100
188 +2019.08.01,2110
189 +2019.07.31,2115
190 +2019.07.30,2090
191 +2019.07.29,2085
192 +2019.07.26,2085
193 +2019.07.25,2090
194 +2019.07.24,2095
195 +2019.07.23,2090
196 +2019.07.22,2095
197 +2019.07.19,2100
198 +2019.07.18,2095
199 +2019.07.17,2100
200 +2019.07.16,2110
201 +2019.07.15,2115
202 +2019.07.12,2115
203 +2019.07.11,2120
204 +2019.07.10,2125
205 +2019.07.09,2105
206 +2019.07.08,2125
207 +2019.07.05,2135
208 +2019.07.04,2120
209 +2019.07.03,2140
210 +2019.07.02,2140
211 +2019.07.01,2160
212 +2019.06.28,2140
213 +2019.06.27,2145
214 +2019.06.26,2135
215 +2019.06.25,2140
216 +2019.06.24,2235
217 +2019.06.21,2270
218 +2019.06.20,2165
219 +2019.06.19,2150
220 +2019.06.18,2170
221 +2019.06.17,2120
222 +2019.06.14,2100
223 +2019.06.13,2100
224 +2019.06.12,2090
225 +2019.06.11,2090
226 +2019.06.10,2085
227 +2019.06.07,2085
228 +2019.06.05,2090
229 +2019.06.04,2090
230 +2019.06.03,2080
231 +2019.05.31,2090
232 +2019.05.30,2080
233 +2019.05.29,2070
234 +2019.05.28,2065
235 +2019.05.27,2060
236 +2019.05.24,2075
237 +2019.05.23,2070
238 +2019.05.22,2080
239 +2019.05.21,2075
240 +2019.05.20,2055
241 +2019.05.17,2060
242 +2019.05.16,2085
243 +2019.05.15,2050
244 +2019.05.14,2115
245 +2019.05.13,2115
246 +2019.05.10,2075
247 +2019.05.09,2085
248 +2019.05.08,2085
249 +2019.05.07,2080
250 +2019.05.03,2070
251 +2019.05.02,2070
252 +2019.04.30,2075
253 +2019.04.29,2065
254 +2019.04.26,2065
255 +2019.04.25,2055
256 +2019.04.24,2055
257 +2019.04.23,2055
258 +2019.04.22,2055
259 +2019.04.19,2045
260 +2019.04.18,2050
261 +2019.04.17,2040
262 +2019.04.16,2040
263 +2019.04.15,2025
264 +2019.04.12,2040
265 +2019.04.11,2030
266 +2019.04.10,2035
267 +2019.04.09,2030
268 +2019.04.08,2030
269 +2019.04.05,2030
270 +2019.04.04,2020
271 +2019.04.03,2020
272 +2019.04.02,2020
273 +2019.04.01,2020
274 +2019.03.29,2025
275 +2019.03.28,2020
276 +2019.03.27,2020
277 +2019.03.26,2020
278 +2019.03.25,2015
279 +2019.03.22,2020
280 +2019.03.21,2020
281 +2019.03.20,2030
282 +2019.03.19,2025
283 +2019.03.18,2025
284 +2019.03.15,2020
285 +2019.03.14,2015
286 +2019.03.13,2015
287 +2019.03.12,2020
288 +2019.03.11,2020
289 +2019.03.08,2015
290 +2019.03.07,2010
291 +2019.03.06,2010
292 +2019.03.05,2010
293 +2019.03.04,2010
294 +2019.02.28,2010
295 +2019.02.27,2010
296 +2019.02.26,2010
297 +2019.02.25,2010
298 +2019.02.22,2035
299 +2019.02.21,2010
300 +2019.02.20,2020
301 +2019.02.19,2020
302 +2019.02.18,2020
303 +2019.02.15,2025
304 +2019.02.14,2020
305 +2019.02.13,2020
306 +2019.02.12,2025
307 +2019.02.11,2020
308 +2019.02.08,2020
309 +2019.02.07,2020
310 +2019.02.01,2015
311 +2019.01.31,2010
312 +2019.01.30,2015
313 +2019.01.29,2015
314 +2019.01.28,2010
315 +2019.01.25,2010
316 +2019.01.24,2015
317 +2019.01.23,2015
318 +2019.01.22,2015
319 +2019.01.21,2015
320 +2019.01.18,2015
321 +2019.01.17,2010
322 +2019.01.16,2010
323 +2019.01.15,2010
324 +2019.01.14,2025
325 +2019.01.11,2030
326 +2019.01.10,2010
327 +2019.01.09,2020
328 +2019.01.08,2025
329 +2019.01.07,2010
330 +2019.01.04,2010
331 +2019.01.03,2010
332 +2019.01.02,2010
333 +2018.12.28,2010
334 +2018.12.27,2010
335 +2018.12.26,2020
336 +2018.12.24,2025
337 +2018.12.21,2000
338 +2018.12.20,2005
339 +2018.12.19,2005
340 +2018.12.18,2005
341 +2018.12.17,2010
342 +2018.12.14,2005
343 +2018.12.13,2010
344 +2018.12.12,2005
345 +2018.12.11,2010
346 +2018.12.10,2015
347 +2018.12.07,2010
1 +date,finance
2 +2020.05.07,2090
3 +2020.05.06,2090
4 +2020.05.04,2090
5 +2020.04.29,2090
6 +2020.04.28,2090
7 +2020.04.27,2090
8 +2020.04.24,2100
9 +2020.04.23,2095
10 +2020.04.22,2085
11 +2020.04.21,2070
12 +2020.04.20,2060
13 +2020.04.17,2060
14 +2020.04.16,2055
15 +2020.04.14,2045
16 +2020.04.13,2040
17 +2020.04.10,2035
18 +2020.04.09,2035
19 +2020.04.08,2030
20 +2020.04.07,2030
21 +2020.04.06,2015
22 +2020.04.03,2005
23 +2020.04.02,2005
24 +2020.04.01,2010
25 +2020.03.31,2015
26 +2020.03.30,2020
27 +2020.03.27,2020
28 +2020.03.26,2000
29 +2020.03.25,2000
30 +2020.03.24,1995
31 +2020.03.23,2005
32 +2020.03.20,2020
33 +2020.03.19,2020
34 +2020.03.18,2025
35 +2020.03.17,2030
36 +2020.03.16,2035
37 +2020.03.13,2045
38 +2020.03.12,2050
39 +2020.03.11,2035
40 +2020.03.10,2055
41 +2020.03.09,2055
42 +2020.03.06,2055
43 +2020.03.05,2055
44 +2020.03.04,2055
45 +2020.03.03,2055
46 +2020.03.02,2040
47 +2020.02.28,2055
48 +2020.02.27,2050
49 +2020.02.26,2050
50 +2020.02.25,2040
51 +2020.02.24,2070
52 +2020.02.21,2095
53 +2020.02.20,2095
54 +2020.02.19,2085
55 +2020.02.18,2105
56 +2020.02.17,2080
57 +2020.02.14,2070
58 +2020.02.13,2075
59 +2020.02.12,2060
60 +2020.02.11,2055
61 +2020.02.10,2055
62 +2020.02.07,2060
63 +2020.02.06,2060
64 +2020.02.05,2055
65 +2020.02.04,2050
66 +2020.02.03,2050
67 +2020.01.31,2050
68 +2020.01.30,2055
69 +2020.01.29,2050
70 +2020.01.28,2035
71 +2020.01.23,2060
72 +2020.01.22,2050
73 +2020.01.21,2050
74 +2020.01.20,2050
75 +2020.01.17,2055
76 +2020.01.16,2055
77 +2020.01.15,2055
78 +2020.01.14,2055
79 +2020.01.13,2055
80 +2020.01.10,2050
81 +2020.01.09,2055
82 +2020.01.08,2050
83 +2020.01.07,2050
84 +2020.01.06,2055
85 +2020.01.03,2050
86 +2020.01.02,2045
87 +2019.12.30,2035
88 +2019.12.27,2045
89 +2019.12.26,2045
90 +2019.12.24,2045
91 +2019.12.23,2045
92 +2019.12.20,2045
93 +2019.12.19,2050
94 +2019.12.18,2055
95 +2019.12.17,2060
96 +2019.12.16,2065
97 +2019.12.13,2060
98 +2019.12.12,2055
99 +2019.12.11,2050
100 +2019.12.10,2060
101 +2019.12.09,2055
102 +2019.12.06,2065
103 +2019.12.05,2085
104 +2019.12.04,2075
105 +2019.12.03,2080
106 +2019.12.02,2080
107 +2019.11.29,2080
108 +2019.11.28,2060
109 +2019.11.27,2060
110 +2019.11.26,2060
111 +2019.11.25,2045
112 +2019.11.22,2045
113 +2019.11.21,2060
114 +2019.11.20,2060
115 +2019.11.19,2065
116 +2019.11.18,2060
117 +2019.11.15,2080
118 +2019.11.14,2085
119 +2019.11.13,2110
120 +2019.11.12,2110
121 +2019.11.11,2060
122 +2019.11.08,2060
123 +2019.11.07,2070
124 +2019.11.06,2070
125 +2019.11.05,2070
126 +2019.11.04,2070
127 +2019.11.01,2075
128 +2019.10.31,2100
129 +2019.10.30,2110
130 +2019.10.29,2120
131 +2019.10.28,2120
132 +2019.10.25,2090
133 +2019.10.24,2085
134 +2019.10.23,2095
135 +2019.10.22,2110
136 +2019.10.21,2115
137 +2019.10.18,2100
138 +2019.10.17,2100
139 +2019.10.16,2110
140 +2019.10.15,2130
141 +2019.10.14,2150
142 +2019.10.11,2120
143 +2019.10.10,2155
144 +2019.10.08,2125
145 +2019.10.07,2125
146 +2019.10.04,2125
147 +2019.10.02,2185
148 +2019.10.01,2180
149 +2019.09.30,2190
150 +2019.09.27,2195
151 +2019.09.26,2185
152 +2019.09.25,2170
153 +2019.09.24,2190
154 +2019.09.23,2190
155 +2019.09.20,2195
156 +2019.09.19,2190
157 +2019.09.18,2195
158 +2019.09.17,2185
159 +2019.09.16,2215
160 +2019.09.11,2215
161 +2019.09.10,2200
162 +2019.09.09,2160
163 +2019.09.06,2165
164 +2019.09.05,2165
165 +2019.09.04,2175
166 +2019.09.03,2130
167 +2019.09.02,2130
168 +2019.08.30,2155
169 +2019.08.29,2185
170 +2019.08.28,2150
171 +2019.08.27,2195
172 +2019.08.26,2145
173 +2019.08.23,2145
174 +2019.08.22,2150
175 +2019.08.21,2140
176 +2019.08.20,2140
177 +2019.08.19,2120
178 +2019.08.16,2120
179 +2019.08.14,2130
180 +2019.08.13,2130
181 +2019.08.12,2150
182 +2019.08.09,2145
183 +2019.08.08,2150
184 +2019.08.07,2160
185 +2019.08.06,2130
186 +2019.08.05,2125
187 +2019.08.02,2180
188 +2019.08.01,2205
189 +2019.07.31,2235
190 +2019.07.30,2190
191 +2019.07.29,2150
192 +2019.07.26,2190
193 +2019.07.25,2185
194 +2019.07.24,2180
195 +2019.07.23,2185
196 +2019.07.22,2185
197 +2019.07.19,2160
198 +2019.07.18,2160
199 +2019.07.17,2180
200 +2019.07.16,2190
201 +2019.07.15,2175
202 +2019.07.12,2180
203 +2019.07.11,2190
204 +2019.07.10,2190
205 +2019.07.09,2190
206 +2019.07.08,2170
207 +2019.07.05,2195
208 +2019.07.04,2175
209 +2019.07.03,2200
210 +2019.07.02,2140
211 +2019.07.01,2170
212 +2019.06.28,2170
213 +2019.06.27,2175
214 +2019.06.26,2175
215 +2019.06.25,2180
216 +2019.06.24,2180
217 +2019.06.21,2185
218 +2019.06.20,2185
219 +2019.06.19,2145
220 +2019.06.18,2150
221 +2019.06.17,2165
222 +2019.06.14,2130
223 +2019.06.13,2120
224 +2019.06.12,2130
225 +2019.06.11,2115
226 +2019.06.10,2110
227 +2019.06.07,2130
228 +2019.06.05,2125
229 +2019.06.04,2105
230 +2019.06.03,2130
231 +2019.05.31,2115
232 +2019.05.30,2085
233 +2019.05.29,2105
234 +2019.05.28,2095
235 +2019.05.27,2100
236 +2019.05.24,2095
237 +2019.05.23,2080
238 +2019.05.22,2080
239 +2019.05.21,2070
240 +2019.05.20,2070
241 +2019.05.17,2080
242 +2019.05.16,2080
243 +2019.05.15,2075
244 +2019.05.14,2085
245 +2019.05.13,2120
246 +2019.05.10,2110
247 +2019.05.09,2100
248 +2019.05.08,2100
249 +2019.05.07,2080
250 +2019.05.03,2070
251 +2019.05.02,2100
252 +2019.04.30,2100
253 +2019.04.29,2105
254 +2019.04.26,2100
255 +2019.04.25,2100
256 +2019.04.24,2110
257 +2019.04.23,2095
258 +2019.04.22,2070
259 +2019.04.19,2075
260 +2019.04.18,2055
261 +2019.04.17,2050
262 +2019.04.16,2060
263 +2019.04.15,2040
264 +2019.04.12,2060
265 +2019.04.11,2050
266 +2019.04.10,2055
267 +2019.04.09,2040
268 +2019.04.08,2040
269 +2019.04.05,2040
270 +2019.04.04,2040
271 +2019.04.03,2030
272 +2019.04.02,2020
273 +2019.04.01,2025
274 +2019.03.29,2030
275 +2019.03.28,2035
276 +2019.03.27,2020
277 +2019.03.26,2040
278 +2019.03.25,2035
279 +2019.03.22,2035
280 +2019.03.21,2035
281 +2019.03.20,2025
282 +2019.03.19,2030
283 +2019.03.18,2030
284 +2019.03.15,2020
285 +2019.03.14,2030
286 +2019.03.13,2030
287 +2019.03.12,2025
288 +2019.03.11,2025
289 +2019.03.08,2020
290 +2019.03.07,2015
291 +2019.03.06,2015
292 +2019.03.05,2025
293 +2019.03.04,2025
294 +2019.02.28,2025
295 +2019.02.27,2025
296 +2019.02.26,2010
297 +2019.02.25,2015
298 +2019.02.22,2010
299 +2019.02.21,2015
300 +2019.02.20,2015
301 +2019.02.19,2020
302 +2019.02.18,2020
303 +2019.02.15,2030
304 +2019.02.14,2030
305 +2019.02.13,2025
306 +2019.02.12,2025
307 +2019.02.11,2020
308 +2019.02.08,2030
309 +2019.02.07,2030
310 +2019.02.01,2030
311 +2019.01.31,2025
312 +2019.01.30,2025
313 +2019.01.29,2025
314 +2019.01.28,2020
315 +2019.01.25,2020
316 +2019.01.24,2020
317 +2019.01.23,2020
318 +2019.01.22,2020
319 +2019.01.21,2020
320 +2019.01.18,2020
321 +2019.01.17,2015
322 +2019.01.16,2015
323 +2019.01.15,2015
324 +2019.01.14,2010
325 +2019.01.11,2015
326 +2019.01.10,2020
327 +2019.01.09,2025
328 +2019.01.08,2020
329 +2019.01.07,2020
330 +2019.01.04,2020
331 +2019.01.03,2020
332 +2019.01.02,2010
333 +2018.12.28,2010
334 +2018.12.27,2025
335 +2018.12.26,2020
336 +2018.12.24,2025
337 +2018.12.21,2005
338 +2018.12.20,2000
No preview for this file type
1 +import urllib
2 +import time
3 +
4 +from urllib.request import urlopen
5 +from bs4 import BeautifulSoup
6 +from urllib import request
7 +import re
8 +import json
9 +from datetime import datetime
10 +import os
11 +import boto3
12 +import time
13 +import sys
14 +import plotly.offline as py
15 +import plotly.graph_objs as go
16 +import plotly.tools as tls
17 +import matplotlib
18 +from random import shuffle
19 +import numpy as np
20 +import pandas as pd
21 +stockItem = ['285130','309930','307070' ]
22 +for k in range(0,3):
23 + url = 'http://finance.naver.com/item/sise_day.nhn?code='+ stockItem[k]
24 + html = urlopen(url)
25 + source = BeautifulSoup(html.read(), "html.parser")
26 + maxPage=source.find_all("table",align="center")
27 + mp = maxPage[0].find_all("td",class_="pgRR")
28 +
29 + mpNum = int(mp[0].a.get('href')[-2:])
30 + date = []
31 + finance = []
32 + df = {}
33 + for page in range(1, mpNum+1):
34 + print (page )
35 + print (mpNum+1)
36 + url = 'http://finance.naver.com/item/sise_day.nhn?code=' + stockItem[k] +'&page='+ str(page)
37 + html = urlopen(url)
38 + source = BeautifulSoup(html.read(), "html.parser")
39 + srlists=source.find_all("tr")
40 + isCheckNone = None
41 + if((page % 1) == 0):
42 + time.sleep(0.1)
43 +
44 + for i in range(1,len(srlists)-1):
45 +
46 + if(srlists[i].span != isCheckNone):
47 + srlists[i].td.text
48 + date.append(srlists[i].find_all("td",align="center")[0].text)
49 + finance.append(int(srlists[i].find_all("td",class_="num")[0].text.replace(',','')))
50 +
51 + if(page == mpNum):
52 + date = np.array(date)
53 + finance = np.array(finance)
54 + df = pd.DataFrame(df)
55 + df["finance"] = finance
56 + df["date"] = date
57 + df.set_index("date", inplace=True, drop=True)
58 + print(df)
59 + df.to_csv("finace_"+stockItem[k]+".csv",encoding = "utf-8")
1 +import numpy as np
2 +import pandas as pd
3 +from bs4 import BeautifulSoup
4 +import urllib
5 +from urllib import request
6 +import re
7 +import json
8 +from datetime import datetime
9 +import os
10 +import boto3
11 +import time
12 +import sys
13 +import plotly.offline as py
14 +import plotly.graph_objs as go
15 +import plotly.tools as tls
16 +import matplotlib
17 +from random import shuffle
18 +
19 +py.init_notebook_mode(connected=True)
20 +
21 +
22 +def upload(s3, local_file_path, bucket, obj):
23 + s3.upload_file(local_file_path,bucket,obj)
24 +
25 +def make_public_read(s3,bucket,key):
26 + s3.put_object_acl(ACL="public-read",Bucket=bucket, Key=key)
27 +
28 +def download(s3,bucket, obj, local_file_path):
29 + s3.download_file(bucket,obj, local_file_path)
30 +
31 +
32 +client_id = "sYcWggwUdtmXwGqUrzzN"
33 +client_secret = "oxUqDSa22I"
34 +
35 +link = "https://openapi.naver.com/v1/datalab/search"
36 +requested = request.Request(link)
37 +requested.add_header("X-Naver-Client-Id",client_id)
38 +requested.add_header("X-Naver-Client-Secret",client_secret)
39 +requested.add_header("Content-Type","application/json")
40 +
41 +df = pd.read_excel("index.xls")
42 +names = df.회사명.values
43 +
44 +now = datetime.now().strftime("%Y-%m-%d")
45 +body_dict = {"startDate":"2017-01-01",
46 + "endDate":"2020-05-07",
47 + "timeUnit":"date"}
48 +v_list = [{"groupName" : i, "keywords" : [i]} for i in names]
49 +df["대표자명"] = df["대표자명"].apply(lambda x: re.sub(r'\(.*\)', '', x))
50 +df["대표자명"] = df["대표자명"].apply(lambda x: [re.compile('[^ㄱ-ㅣ가-힣]+').sub("",x)] if len(re.compile('[^ㄱ-ㅣ가-힣]+').sub("",x)) < 5 else re.findall(r"[\w']+", x))
51 +
52 +for i in range(0, df.shape[0]):
53 + for j in df["대표자명"].values[i]:
54 + if "대표" not in j and j!= "":
55 + v_list[i]["keywords"].append(j)
56 +
57 +shuffle(v_list)
58 +standard = v_list[0]
59 +standard_keyword = standard["groupName"]
60 +list_use = v_list[1:]
61 +
62 +split_list = [list_use[i:i+4] for i in range(0, len(list_use), 4)]
63 +
64 +for i in split_list:
65 + i.append(standard)
66 +
67 +sample_body = body_dict
68 +sample_body["keywordGroups"] = split_list[0]
69 +sample_body = json.dumps(sample_body, ensure_ascii=False)
70 +sample_response = request.urlopen(requested, data=sample_body.encode("utf-8"))
71 +
72 +code = sample_response.getcode()
73 +if code == 200:
74 + sample_response_body = sample_response.read()
75 + sample_scraped = sample_response_body.decode("utf-8")
76 +else:
77 + print ("Error Code:", code)
78 +
79 +sample_result = json.loads(sample_scraped)
80 +
81 +for i in sample_result["results"] :
82 + if i["title"] == standard_keyword:
83 + sample_standard = i["data"]
84 +scale = sample_standard[0]["ratio"]
85 +
86 +df = {}
87 +
88 +df[standard_keyword] = np.array([i["ratio"] for i in sample_standard])
89 +length = len(df[standard_keyword])
90 +date = np.array([i["period"] for i in sample_standard])
91 +for i in split_list:
92 +
93 + body_dict["keywordGroups"] = i
94 + body = json.dumps(body_dict, ensure_ascii=False)
95 +
96 + print(i)
97 + response = request.urlopen(requested, data=body.encode("utf-8"))
98 +
99 + code = response.getcode()
100 + if code == 200:
101 + response_body = response.read()
102 + scraped = response_body.decode("utf-8")
103 + else:
104 + print ("Error Code:", code)
105 +
106 +
107 +
108 + result = json.loads(scraped)
109 +
110 + for i in result["results"]:
111 + if i["title"] == standard_keyword:
112 + compare = i["data"]
113 + compare = compare[0]["ratio"]
114 +
115 + scaling = scale/compare
116 +
117 + for i in result["results"]:
118 + if i["title"]!=standard_keyword:
119 + value = [j["ratio"]*scaling for j in i["data"]]
120 + if len(value)!=length:
121 + value+=np.abs(length-len(value)) * [value[-1]]
122 + df[i["title"]] = np.array(value)
123 +
124 +df = pd.DataFrame(df)
125 +df["date"] = date
126 +df = df.set_index("date")
127 +df.to_csv("trend.xls", encoding = "utf-8")
128 +
129 +session = boto3.Session(profile_name = "class")
130 +s3 = session.client("s3")
131 +bucket = 'khu-big-data-ksh'
132 +path = sys.argv[1].replace('\\','/')
133 +filelist = os.listdir(path)
134 +date = time.localtime()
135 +if(path[len(path)-1] != '/'):
136 + path +='/'
137 +year = str(date.tm_year)
138 +month = str(date.tm_mon)
139 +day = str(date.tm_mday)
140 +if(len(month) ==1):
141 + month = '0'+month
142 +if(len(day) ==1):
143 + day = '0'+day
144 +current_date = year+"/"+month+"-"+day
145 +try:
146 + if(sys.argv[3] =='1'):
147 + os.mkdir(path+'downloads/')
148 +except:
149 + print("")
150 +
151 +for element in filelist:
152 + if(os.path.isdir(path+element)):
153 + continue
154 + upload(s3, path+element, bucket, current_date+"/"+element)
155 + make_public_read(s3,bucket,current_date+"/"+element)
156 +
157 +df.plot(title = "Naver Trend - Stock-Daily", figsize = (20, 10), legend = False)
158 +
This diff could not be displayed because it is too large.