MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / Stats

Class Stats

example_code/item_031.py:153–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151
152@dataclass
153class Stats:
154 minimum: float
155 maximum: float
156 average: float
157 median: float
158 count: int
159
160def get_stats_obj(numbers):
161 return Stats(

Callers 2

get_stats_objFunction · 0.85
item_092.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected