Skip to content

Commit ea9ab17

Browse files
committed
Add description of Array#histogram
1 parent a6f7e1d commit ea9ab17

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ The following methods are supplied by this library:
4646
- Calculates a percentile or percentiles of values in an array
4747
- `Array#value_counts`, `Enumerable#value_counts`, and `Hash#value_counts`
4848
- Count how many items for each value in the container
49+
- `Array#histogram`
50+
- Calculate histogram of the values in the array
4951

5052
Moreover, for Ruby < 2.4, `Array#sum` and `Enumerable#sum` are provided.
5153

0 commit comments

Comments
 (0)