import sys # 시스템
import os # 시스템
import pandas as pd # 판다스 : 데이터분석 라이브러리
import numpy as np # 넘파이 : 숫자, 행렬 데이터 라이브러리
import requests
from selenium import webdriver # 웹 브라우저 자동화
import time # 서버와 통신할 때 중간중간 시간 지연. 보통은 1초
# 해당 html소스에 있는 테이블들을 list안에 있는 dataframe형태로 table 변수에 할당
html = requests.get('https://finance.naver.com/sise/theme.nhn?&page=1')
table = pd.read_html(html.text)
table[0]