[Numpy-discussion] Understanding np.min behaviour with nan
gerrit.holl at gmail.com
Wed Jan 10 18:21:57 EST 2018
On 10 January 2018 at 23:03, Andrew Nelson <andyfaff at gmail.com> wrote:
> Further to my last message, why is the warning only raised once?
Warnings are only raised once because that is the default behaviour
for warnings. The warning is issued every time but only displayed on
the first occurence.
You can control this with the warnings module:
More information about the NumPy-Discussion