MCPcopy Create free account
hub / github.com/antirez/ds4 / derive_title

Function derive_title

speed-bench/plot_speed.py:84–86  ·  view source on GitHub ↗
(csv_path)

Source from the content-addressed store, hash-verified

82
83
84def derive_title(csv_path):
85 words = csv_path.stem.replace("_", " ").replace("-", " ").split()
86 return " ".join(word.upper() if word[0:1].lower() == "m" and word[1:].isdigit() else word.capitalize() for word in words) + " t/s"
87
88
89def points_to_polyline(points, x_min, x_max, y_max, plot):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected