摘要:
import jsonimport pandas as pdimport numpy as npimport matplotlib.pyplot as pltif __name__=="__main__": path="usagov_bitly_data2012-03-16-1331923249.txt" fp=open(path) records=[json.loads(line) for line in fp.readlines()] print(len(records)) frame=pd.DataFrame(records) print(fram 阅读全文
posted @ 2014-04-09 21:52
sxcww
阅读(248)
评论(1)
推荐(0)

浙公网安备 33010602011771号