Data_hacks 是用于数据分析的命令行工具。
实例:
$ cat /tmp/data | histogram.py --percentage --max=1000 --min=0 # NumSamples = 60; Min = 0.00; Max = 1000.00 # 1 value outside of min/max # Mean = 332.666667; Variance = 471056.055556; SD = 686.335236; Median 191.000000 # each ∎ represents a count of 1 0.0000 - 100.0000 [ 28]: ∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎ (46.67%) 100.0000 - 200.0000 [ 2]: ∎∎ (3.33%) 200.0000 - 300.0000 [ 2]: ∎∎ (3.33%) 300.0000 - 400.0000 [ 8]: ∎∎∎∎∎∎∎∎ (13.33%) 400.0000 - 500.0000 [ 8]: ∎∎∎∎∎∎∎∎ (13.33%) 500.0000 - 600.0000 [ 7]: ∎∎∎∎∎∎∎ (11.67%) 600.0000 - 700.0000 [ 3]: ∎∎∎ (5.00%) 700.0000 - 800.0000 [ 0]: (0.00%) 800.0000 - 900.0000 [ 1]: ∎ (1.67%) 900.0000 - 1000.0000 [ 0]: (0.00%)