mirror of
https://github.com/nushell/nushell.git
synced 2025-02-24 14:31:47 +01:00
Histogram no longer requires a wrap
command before it on unnamed columns (#2332)
This commit is contained in:
parent
3c18169f63
commit
cc3c10867c
@ -55,27 +55,27 @@ true
|
||||
```
|
||||
|
||||
```shell
|
||||
> random dice --dice 1024 --sides 16 | wrap dice | histogram dice | sort-by count
|
||||
────┬──────┬───────┬──────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
# │ dice │ count │ frequency
|
||||
────┼──────┼───────┼──────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
0 │ 15 │ 54 │ ***********************************************************************
|
||||
1 │ 7 │ 55 │ ************************************************************************
|
||||
2 │ 1 │ 56 │ *************************************************************************
|
||||
3 │ 16 │ 57 │ ***************************************************************************
|
||||
4 │ 5 │ 57 │ ***************************************************************************
|
||||
5 │ 3 │ 61 │ ********************************************************************************
|
||||
6 │ 11 │ 62 │ *********************************************************************************
|
||||
7 │ 14 │ 64 │ ************************************************************************************
|
||||
8 │ 9 │ 65 │ *************************************************************************************
|
||||
9 │ 12 │ 66 │ **************************************************************************************
|
||||
10 │ 4 │ 67 │ ****************************************************************************************
|
||||
11 │ 2 │ 69 │ ******************************************************************************************
|
||||
12 │ 8 │ 69 │ ******************************************************************************************
|
||||
13 │ 6 │ 71 │ *********************************************************************************************
|
||||
14 │ 13 │ 75 │ **************************************************************************************************
|
||||
15 │ 10 │ 76 │ ****************************************************************************************************
|
||||
────┴──────┴───────┴──────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
> 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 │ ****************************************************************************************************
|
||||
────┴───────┴───────┴──────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
```
|
||||
|
||||
## uuid
|
||||
|
Loading…
Reference in New Issue
Block a user