SciPy
ConstantInputWarning
ConstantInputWarning.add_note
ConstantInputWarning.with_traceback
Warns when all values in data are exactly equal.
Exception.add_note(note) – add a note to the exception
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
previous
scipy.stats.DegenerateDataWarning
next
scipy.stats.NearConstantInputWarning