numpy.fromiter is neither numpy.array nor does it work similar to
numpy.array(list(...)) as the dtype argument is necessary

is there a reason, why np.array(...) should not work on iterators? I have
the feeling that such requests get (repeatedly) dismissed, but until yet I
haven't found a compelling argument for leaving this Feature missing (to
remember, it is already implemented in a branch)

Please let me know if you know about an argument,
best,
Stephan

On 27 November 2015 at 14:18, Alan G Isaac <alan.is...@gmail.com> wrote:

> On 11/27/2015 5:37 AM, Stephan Sahm wrote:
>
>> I like to request a generator/iterator support for np.array(...) as far
>> as list(...) supports it.
>>
>
>
> http://docs.scipy.org/doc/numpy/reference/generated/numpy.fromiter.html
>
> hth,
> Alan Isaac
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> https://mail.scipy.org/mailman/listinfo/numpy-discussion
>
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to