79627329

Date: 2025-05-18 09:59:24
Score: 0.5
Natty:
Report link

There might be cases where you're willing to accept the error, would like to go on and just suppress the warning message (example: moving average of a column that starts with zeros...).

In case you just want to suppress these warnings, just write

np.seterr(invalid='ignore')

after the numpy import statement.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Marc Steffen