79441701

Date: 2025-02-15 14:38:11
Score: 1.5
Natty:
Report link

Ok it was easier than what I thought! Inspired by this example I changed the code to:

scipy.stats.kruskal(*[group["variable"].values for name, group in df.groupby("treatment") if group["variable"].values.size > 4])

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user3892