Lorenzo Isella wrote: > but I do not know the command to identify a number vs an Inf or a nan > (my fictitious is_a_number condition). > What about numpy.isnan and numpy.isfinite ? David