GithubHelp home page GithubHelp logo

uroko's Introduction

uroko

PyPI version CircleCI Codecov

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

uroko's People

Contributors

t-chov avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.