Skip to content
Snippets Groups Projects

include the standard deviation of "inbreeding" measurements

Merged STEVAN Antoine requested to merge better-loading-output into main
2 files
+ 4
6
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 4
2
@@ -46,8 +46,10 @@ export def main [
| parse "{x}, {y}"
| into float y
| group-by x --to-table
| update items { get y | math avg }
| rename --column { group: "x", items: "y" }
| insert y { get items.y | math avg }
| insert e { get items.y | math stddev }
| rename --column { group: "x" }
| reject items
| into int x # NOTE: $.x needs to be converted to int here because
# `group-by --to-table` converts the grouping key to
# string
Loading