Data scaling tool for CSV/TSV
"uroko" means scale in Japanese.
Input CSV/TSV data, output min-max scaled data with some functions.
Usage: uroko-cli [OPTIONS] [INPUT] [OUTPUT]
Options:
--version Show the version and exit.
-c, --columns TEXT columns to scale
-a, --apply [log|sqrt] apply whith calculation for scaling
--csv load as csv
--tsv load as tsv
--help Show this message and exit.
$ echo """name,score
Sato,100
Kimura,50
Suzuki,80
""" | uroko-cli -c score
name,score
Sato,1.0
Kimura,0.0
Suzuki,0.6
echo """name value
kyoto 10000
gifu 100
gumma 1
""" | uroko-cli -c value -a log --tsv
name value
kyoto 1.0
gifu 0.4604718013624446
gumma 0.0