02 2017 档案

Python:Pandas学习
摘要:1 import pandas as pd 2 import numpy as np 3 s = pd.Series([1, 3, 6, np.nan, 44, 1]) 4 5 df= pd.DataFrame(np.random.random((4,5))) 6 7 # data frame 常用属性 8 df.dtypes 9 df.index 10... 阅读全文

posted @ 2017-02-02 15:06 肉鹅阿笨 阅读(453) 评论(0) 推荐(0)

Python:Numpy学习
摘要:1 import numpy as np 2 # 基础属性 3 array = np.array([[[1,2,3], [0,0,1]], [[1,2,3], [0,0,1]]], 4 dtype = np.int64) 5 6 print(array) 7 print(array.ndim) # number of dim 8 print(... 阅读全文

posted @ 2017-02-01 23:28 肉鹅阿笨 阅读(422) 评论(0) 推荐(0)

导航