ãããªãµã¤ãã®ãã¼ãã«ãpandasã®ãã¼ã¿ãã¬ã¼ã ã«åãè¾¼ã¿ããã¦ãBeautifulSoupã®ã¿ã°ãããªã¹ãã«å¤æãã¦ã»ã»ã»ã¨è²ã ãã£ã¦ããããã®ããªãï¼ ãªãã¨ãread_html(flavor='bs4')ã ãã§ç°¡åã«æã£ã¦ãããã¨ãã§ãã¾ããã (ãï¼ç¥ã£ã¦ãï¼ã»ã»ã»èªåã¯ç¥ããªãã¦ãã£ã¨æãã¦ã¾ããorz) import pandas as pd tables = pd.read_html('http://stocks.finance.yahoo.co.jp/stocks/history/?code=998407.O', flavor='bs4') print(tables[1]) """ 0 1 2 3 4 0 æ¥ä» å§å¤ é«å¤ å®å¤ çµå¤ 1 2015å¹´11æ19æ¥ 19851.24 19959.06 19761.56 19859.81 2 2015å¹´11æ18æ¥ 1977
{{#tags}}- {{label}}
{{/tags}}