摘要: import numpy as np #Create an array of 1*10^7 elements arr = np.arange(1e7) #Converting ndarray to list larr = arr.tolist() #Create a 2D numpy array arr = np.zeros((3,3)) #Converting a array to m... 阅读全文
posted @ 2017-04-11 16:02 KennyRom 阅读(468) 评论(0) 推荐(0) 编辑
摘要: zip() is a built-in function. This function returns a list of tuples, where the i-th tuple contains the i-th element from each of the argument sequenc 阅读全文
posted @ 2017-04-11 15:49 KennyRom 阅读(184) 评论(0) 推荐(0) 编辑
摘要: numpy.logspace(start, stop, num=50, endpoint=True, base=10.0, dtype=None) starting value := base**start stopping value := base**stop base = 10.0 := th 阅读全文
posted @ 2017-04-11 15:00 KennyRom 阅读(1097) 评论(0) 推荐(0) 编辑