mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 02:37:50 +02:00
Update histogram examples
This commit is contained in:
committed by
Andrés N. Robalino
parent
d1d98a897a
commit
8f00713ad2
@ -55,27 +55,27 @@ true
|
||||
```
|
||||
|
||||
```shell
|
||||
> random dice --dice 1024 --sides 16 | histogram | sort-by count
|
||||
────┬───────┬───────┬──────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
# │ value │ count │ frequency
|
||||
────┼───────┼───────┼──────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
0 │ 14 │ 54 │ **********************************************************************
|
||||
1 │ 4 │ 55 │ ***********************************************************************
|
||||
2 │ 10 │ 58 │ ***************************************************************************
|
||||
3 │ 15 │ 59 │ ****************************************************************************
|
||||
4 │ 11 │ 60 │ *****************************************************************************
|
||||
5 │ 7 │ 60 │ *****************************************************************************
|
||||
6 │ 16 │ 61 │ *******************************************************************************
|
||||
7 │ 5 │ 62 │ ********************************************************************************
|
||||
8 │ 3 │ 63 │ *********************************************************************************
|
||||
9 │ 9 │ 63 │ *********************************************************************************
|
||||
10 │ 2 │ 64 │ ***********************************************************************************
|
||||
11 │ 8 │ 68 │ ****************************************************************************************
|
||||
12 │ 1 │ 71 │ ********************************************************************************************
|
||||
13 │ 13 │ 73 │ **********************************************************************************************
|
||||
14 │ 6 │ 76 │ **************************************************************************************************
|
||||
15 │ 12 │ 77 │ ****************************************************************************************************
|
||||
────┴───────┴───────┴──────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
> random dice --dice 1024 --sides 16 | histogram | sort-by occurrences
|
||||
────┬───────┬─────────────┬────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
# │ value │ occurrences │ percentage │ frequency
|
||||
────┼───────┼─────────────┼────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
0 │ 6 │ 57 │ 75.00% │ ***************************************************************************
|
||||
1 │ 12 │ 59 │ 77.63% │ *****************************************************************************
|
||||
2 │ 3 │ 59 │ 77.63% │ *****************************************************************************
|
||||
3 │ 16 │ 60 │ 78.95% │ ******************************************************************************
|
||||
4 │ 13 │ 61 │ 80.26% │ ********************************************************************************
|
||||
5 │ 11 │ 62 │ 81.58% │ *********************************************************************************
|
||||
6 │ 5 │ 62 │ 81.58% │ *********************************************************************************
|
||||
7 │ 9 │ 62 │ 81.58% │ *********************************************************************************
|
||||
8 │ 4 │ 63 │ 82.89% │ **********************************************************************************
|
||||
9 │ 8 │ 64 │ 84.21% │ ************************************************************************************
|
||||
10 │ 10 │ 65 │ 85.53% │ *************************************************************************************
|
||||
11 │ 15 │ 66 │ 86.84% │ **************************************************************************************
|
||||
12 │ 14 │ 67 │ 88.16% │ ****************************************************************************************
|
||||
13 │ 7 │ 69 │ 90.79% │ ******************************************************************************************
|
||||
14 │ 1 │ 72 │ 94.74% │ **********************************************************************************************
|
||||
15 │ 2 │ 76 │ 100.00% │ ****************************************************************************************************
|
||||
────┴───────┴─────────────┴────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
```
|
||||
|
||||
## uuid
|
||||
|
Reference in New Issue
Block a user