[Numpy-discussion] find appropriate dtype based on a set of values

Stéfan van der Walt stefan at sun.ac.za
Tue Sep 3 12:31:46 EDT 2013

On Tue, Sep 3, 2013 at 2:47 PM, Robert Kern <robert.kern at gmail.com> wrote:
>> Here's one way of doing it: https://gist.github.com/stefanv/6413742
> You can probably reduce the amount of work by only comparing a.min() and
> a.max() instead of the whole array.

Thanks, fixed.


More information about the NumPy-Discussion mailing list