(values)
| 263 | ) |
| 264 | |
| 265 | def sort(values): |
| 266 | def extract(v: str) -> str: |
| 267 | if v.startswith("Dask"): |
| 268 | v = v[6:] |
| 269 | return v[: v.index("p")].zfill(3) |
| 270 | return v |
| 271 | |
| 272 | return values.map(extract) |
| 273 | |
| 274 | df = df.sort_values(by="task-count") |
| 275 | df = df.sort_values(by="environment", key=sort, kind="stable") |
no outgoing calls