MCPcopy
hub / github.com/tradytics/surpriver / is_nan

Method is_nan

detection_engine.py:122–126  ·  view source on GitHub ↗

Checks if a value is null.

(self, object)

Source from the content-addressed store, hash-verified

120
121
122 def is_nan(self, object):
123 """
124 Checks if a value is null.
125 """
126 return object != object
127
128 def calculate_percentage_change(self, old, new):
129 return ((new - old) * 100) / old

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected