Data scaling tool for CSV/TSV
Project description
uroko
Data scaling tool for CSV/TSV
"uroko" means scale in Japanese.
Input CSV/TSV data, output min-max scaled data with some functions.
Usage
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.
Example
Plain
$ echo """name,score
Sato,100
Kimura,50
Suzuki,80
""" | uroko-cli -c score
name,score
Sato,1.0
Kimura,0.0
Suzuki,0.6
Use log scale
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
uroko-0.2.2.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
uroko-0.2.2-py3-none-any.whl
(4.2 kB
view details)
File details
Details for the file uroko-0.2.2.tar.gz.
File metadata
- Download URL: uroko-0.2.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.8.5 Linux/5.4.72-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab44b67a258990e0f1e14ae17605a625f2f428fb49235712fb4b40320b24debd
|
|
| MD5 |
42e090635f5330fd5c66565214a6ce22
|
|
| BLAKE2b-256 |
46e4d098fdbacd03b0f29e3ce2fb67d2d9c8c8e5fba89a7db0fce5e962f1fcea
|
File details
Details for the file uroko-0.2.2-py3-none-any.whl.
File metadata
- Download URL: uroko-0.2.2-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.8.5 Linux/5.4.72-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74cc0f48615fddf7d76d0885a74abc3f070584d8dd0ee7ddb834ca682f72a7ce
|
|
| MD5 |
32af62d5d7bdc25a7e7f2957d4ee9027
|
|
| BLAKE2b-256 |
c9ca7dafb617dbb62d028b7005f68087c1cf5015e49fee3149149571df87afab
|