摘要: import requests from lxml import etree import pandas as pd a = requests.get('http://vip.stock.finance.sina.com.cn/q/go.php/vInvestConsult/kind/rzrq/index.phtml') # print(a.status_code) # print(a.tex... 阅读全文
posted @ 2018-01-08 23:30 风在人舟 阅读(2961) 评论(0) 推荐(0) 编辑
摘要: import numpy as np ''' a = np.array([1,2,3]) print(a) print(type(a)) print(a.dtype) # 几行 print(a.ndim) print(a.size) print(a.shape) print(a.data) ''' ''' a = np.array([[1,2,3],[4,5,6]]) b = np.arra... 阅读全文
posted @ 2018-01-08 22:49 风在人舟 阅读(319) 评论(0) 推荐(0) 编辑