A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.scipy.org/doc/numpy-1.17.0/reference/generated/numpy.fromiter.html below:

numpy.fromiter — NumPy v1.17 Manual

Create a new 1-dimensional array from an iterable object.

Specify count to improve performance. It allows fromiter to pre-allocate the output array, instead of resizing it on demand.

>>> iterable = (x*x for x in range(5))
>>> np.fromiter(iterable, float)
array([  0.,   1.,   4.,   9.,  16.])

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4