sness
blog of sness
Thursday, July 14, 2011
numpy.fromiter — NumPy v2.0.dev-861e227 Manual (DRAFT)
numpy.fromiter — NumPy v2.0.dev-861e227 Manual (DRAFT)
: ">>> iterable = (x*x for x in range(5))
>>> np.fromiter(iterable, np.float)
array([ 0., 1., 4., 9., 16.])"
Newer Post
Older Post
Home