본문 바로가기

etc

python install lib

반응형

> easy_install pip

> pip install XXXX


1) numpy,pandas,IPython 설치

http://www.lucypark.kr/blog/2013/02/06/python-and-ipython-on-windows/


2) lxml 설치

http://blog.daum.net/jek_daum/8892359


3)  > libxml2, libxslt, Cython,  설치 후 lxml  설치하기


4) install html5lib beautifulsoup

http://www.crummy.com/software/BeautifulSoup/bs4/doc/



1.  Pandas를 이용하여 read_html 

import json

import numpy as np

import pandas as pd

url = 'http://www.fdic.gov/bank/individual/failed/banklist.html'

dfs = pd.read_html(url)

dfs

 

http://www.fdic.gov/bank/individual/failed/banklist.html


ref) http://pandas.pydata.org/pandas-docs/dev/gotchas.html#html-gotchas

http://pandas.pydata.org/pandas-docs/dev/io.html



반응형

'etc' 카테고리의 다른 글

애자일 이야기/ 실용주의 사고와 학습  (0) 2013.10.13
The 100 Greatest Britpop Songs  (0) 2013.10.11
영상인식 논문 검색  (0) 2013.10.05
powered by/ designed by  (0) 2013.09.24
data a  (0) 2013.09.20