Skip to content
Snippets Groups Projects

Round mean values calculated during data analysis

Merged Manon Blanco requested to merge analyze-round-mean-value into main
All threads resolved!
Files
2
@@ -40,7 +40,7 @@ def create_table(
("Min", np.min, None),
("Max", np.max, None),
("Mean", np.mean, 2),
("Median", np.median, None),
("Median", np.median, 2),
]
)
if total:
@@ -53,7 +53,7 @@ def create_table(
*list(
map(
# Round values if needed
partial(round, ndigits=digits) if digits else lambda x: x,
partial(round, ndigits=digits),
map(operator, data.values()),
)
),
Loading