MCPcopy Create free account
hub / github.com/Mic92/vmsh / systems_order

Function systems_order

tests/plot.py:64–67  ·  view source on GitHub ↗
(df: pd.DataFrame)

Source from the content-addressed store, hash-verified

62
63
64def systems_order(df: pd.DataFrame) -> List[str]:
65 priorities: Dict[str, int] = {}
66 systems = list(df.system.unique())
67 return sorted(systems, key=lambda v: priorities.get(v, 100))
68
69
70def catplot(**kwargs: Any) -> Any:

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected