<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          MillerCSV 和 JSON 文檔處理工具

          聯(lián)合創(chuàng)作 · 2023-09-21 20:25

          Miller 是一個類似 sed、awk、cut、join 和 sort 工具,用來處理基于命名索引的數(shù)據(jù),注入 CSV 和表格化的 JSON。

          使用示例:

          % mlr --csv cut -f hostname,uptime mydata.csv
          % mlr --csv --rs lf filter '$status != "down" && $upsec >= 10000' *.csv
          % mlr --nidx put '$sum = $7 < 0.0 ? 3.5 : $7 + 2.1*$8' *.dat
          % grep -v '^#' /etc/group | mlr --ifs : --nidx --opprint label group,pass,gid,member then sort -f group
          % mlr join -j account_id -f accounts.dat then group-by account_name balances.dat
          % mlr put '$attr = sub($attr, "([0-9]+)_([0-9]+)_.*", "\1:\2")' data/*.json
          % mlr stats1 -a min,mean,max,p10,p50,p90 -f flag,u,v data/*
          % mlr stats2 -a linreg-pca -f u,v -g shape data/
          瀏覽 13
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  国产极品人妖ts91热爆 | 九色丨蝌蚪丨成人 | 最好看2019中文在线播放电影 | 内射亚洲色 | 日韩三级乱伦 |