Data analysis tools
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
README.md
__init__.py
_avg
_div
_max
_min
_mult
_std
_sum
mathematics.py

README.md

UNDERSCORE

What is underscore?

It's a set of data analysis tools in command line.

  • _min
  • _max
  • _avg
  • _std
  • _sum
  • _div
  • _mult

_min

Returns the min value of the data

_min < data.dat
cat data.dat | _min

_max

Returns the max value of the data

_max < data.dat
cat data.dat | _max

_avg

Returns the average value of the data

_avg < data.dat
cat data.dat | _avg

_std

Returns the standard deviation value of the data

_std < data.dat
cat data.dat | _std

_sum

Returns the sum of all the values in the data

_sum < data.dat
cat data.dat | _sum

_div

Returns the values divided by a number

_div 2 < data.dat
cat data.dat | _div 2

_mult

Returns the values multiplied by a number

_mult 0.5 < data.dat
cat data.dat | _mult 0.5