MCPcopy Create free account
hub / github.com/ipython/ipython / stdev

Method stdev

IPython/core/magics/execution.py:94–96  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

92
93 @property
94 def stdev(self):
95 mean = self.average
96 return (math.fsum([(x - mean) ** 2 for x in self.timings]) / len(self.timings)) ** 0.5
97
98 def __str__(self):
99 pm = '+-'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected