How would one go about finding the minimum value in an array of 100 floats in python?
I have tried minindex=darr.argmin()
and print darr[minindex]
with import numpy
(darr is the name of the array)
but I get:
minindex=darr.argmin()
AttributeError: 'list' object has no attribute 'argmin'
what might be the problem? Is there a better alternative?